Commit Graph

132444 Commits

Author SHA1 Message Date
Adam King
f38cdd9cdf
Merge pull request #46546 from mgfritch/vstart-stop-mds
src/stop.sh: stop existing ceph-mds daemons

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2022-07-14 14:02:32 -04:00
Pere Diaz Bou
45ecfc6ac7
Merge pull request #46014 from vrushch/rbd_form_fix
mgr/dashboard: rbd striping setting pre-population and pop-over

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-14 18:20:24 +02:00
Adam King
2377bda27e
Merge pull request #47066 from adk3798/osd-removal-docs-update
doc/cephadm: add note about OSDs being recreated to OSD removal section

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-07-14 11:07:08 -04:00
Adam King
4144386fc0
Merge pull request #47062 from guits/update-latest-stable-default
cephadm: update LATEST_STABLE_RELEASE

Reviewed-by: Adam King <adking@redhat.com>
2022-07-14 11:03:39 -04:00
Ilya Dryomov
795daff95e
Merge pull request #46260 from CongMinYin/wip-enable-ndctl
cmake: enable ndctl when building PMDK for WITH_BLUESTORE_PMEM

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-07-14 15:21:29 +02:00
Nizamudeen A
367bf22731
Merge pull request #46644 from rhcs-dashboard/rbd-list-pagination
mgr/dashboard: rbd image pagination

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-07-14 17:04:31 +05:30
Nizamudeen A
990069d31f
Merge pull request #45981 from rhcs-dashboard/box-no-more-ultron
cephadm/box: Rootless podman box implementation

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: anthonyeleven <NOT@FOUND>
Reviewed-by: melissa-kun-li <NOT@FOUND>
2022-07-14 16:43:49 +05:30
Yuval Lifshitz
803eb78960
Merge pull request #46650 from faithuniterh/Modifying-boto3-examples
Modifying boto3 examples

reviewed-by: ylifshit@redhat.com
2022-07-14 11:03:20 +03:00
Yingxin
93a6fd1b02
Merge pull request #47039 from rosinL/fix-perf-cirmson-msgr
tools/crimson/perf_crimson_msgr:fix perf_crimson_msgr abort

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-07-14 14:25:53 +08:00
Samuel Just
eccd0a5faf
Merge pull request #47081 from zhscn/fix-map-exist
crimson/os/seastore: fix bug of Transaction::is_retired

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-07-13 13:59:51 -07:00
Adam King
d4a39cd046 doc/cephadm: add note about OSDs being recreated to OSD removal section
Signed-off-by: Adam King <adking@redhat.com>
2022-07-13 14:21:17 -04:00
Justin Caratzas
23a849e3d0
Merge pull request #46918 from bigjust/wip-jcaratza-mib-rpm
monitoring:package SNMP MIB file as an rpm
2022-07-13 12:56:53 -04:00
Pere Diaz Bou
80964fb520 mgr/dashboard: fix rbdconfiguration init type
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-13 17:45:37 +02:00
Pere Diaz Bou
6f5ac1274b cephadm/box: Choose between docker or podman with --engine
With ./box.py --engine docker you can specify you want to use docker
instead of podman. With docker box.py command should be run with sudo.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-13 16:43:00 +02:00
Yuri Weinstein
f9bd8922d7
Merge pull request #46114 from myoungwon/wip-dedup-tool-object-dedup-snapshot
tool/ceph-dedup-tool: add performing dedup option on cloned object

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-07-13 07:32:32 -07:00
Yingxin
1311524218
Merge pull request #47021 from aisakaki/wip-cache-opt
crimson/os/seastore/cache: fine-grained lru cache control with GC

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-07-13 22:01:13 +08:00
Zhang Song
ee9195d09e crimson/os/seastore: fix bug of Transaction::is_retired
The retired extent may exist as a RetiredExtentPlaceholder, casting
this extent to LogicalCachedExtent will cause undefined behavior.

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2022-07-13 20:45:05 +08:00
Pere Diaz Bou
869c716e9c
Merge pull request #46898 from rhcs-dashboard/cleanup-55720-master
mgr/dashboard: don't log tracebacks on 404s

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-07-13 14:43:06 +02:00
Pere Diaz Bou
864955f489
Merge pull request #46987 from rhcs-dashboard/fix-ingress-backend-service-filter
mgr/dashboard: ingress backend service should list all supported services

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-07-13 14:41:31 +02:00
Venky Shankar
f8decfbfb7
Merge pull request #47006 from teuchert/fix_56269
mgr/snap_schedule: Use rados.Ioctx.remove_object() instead of remove().

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-07-13 14:59:30 +05:30
Xinyu Huang
8a09b9b457 crimson/os/seastore/cache: fine-grained lru cache control with GC
GC transaction is not sourced by user behaviors, so the extent read
operations from GC transaction don’t satisfy the time locality
principle. These extents should not be added to LRU cache.

Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
2022-07-13 01:42:06 +00:00
Samuel Just
8189cf5986
Merge pull request #47064 from rzarzynski/wip-crimson-fix-client-request-leak
crimson/osd: don't leak ClientRequests on stopping OSD

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-07-12 14:10:52 -07:00
Pere Diaz Bou
08c980ede3 mgr/dashboard: fix api tests + lint
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:03 +02:00
Pere Diaz Bou
23615b3e1b mgr/dashboard: cleanups
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
5a0ead8cc8 mgr/dashboard: RbdConfiguration.list reuse image context.
Image contexts are reopen even though we pass the context as an
argument. This commit changes that so you can forget about reopening
a rbd image context again.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
c01ce41266 mgr/dashboard: change sort char to '+' and page icons
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
90869173ee mgr/dashboard: fix linting errors
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
3c308804d5 mgr/dashboard: add rbd list sorting support
Support sorting with name, pool name and namespace

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
5386dd1cb3 mgr/dashboard: update rbd list api version to 2
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
c832464998 mgr/dashboard: debounce reload data with serverSide
Whenever we use serverSide (paginate through backend) we should
debounce reloadData since it might call api calls too much times.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
68ef0b83e9 mgr/dashboard: add rbd list search and disable sorting
- Disable sorting in each column because it will not be possible to
sort with this pagination implementation.
- Add search capabilities to the rbd list pagination endpoint.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
08b6f22807 mgr/dashboard: fix rbd list tests
X-Total-Count header was missing from rbdservice.list spy mock

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Nizamudeen A
a27eea3e8c mgr/dashboard: fix frontend unit tests
Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
4060061014 mgr/dashboard: if null tablecontext then create empty one
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
27f40514eb mgr/dashboard: more linting
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
78523ec030 mgr/dashboard: fix tests and iscsi rbd list
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
dbf2552ca5 mgr/dashboard: bind serverSide to externalPaging
Count won't be used unless externalPaging is set to true.
remove paginated import

task list service needed to be updated in order to have extra
params. This commit introduces that param.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Pere Diaz Bou
efd9a8ba5c mgr/dashboard: rbd pagination poc
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-12 19:09:02 +02:00
Radoslaw Zarzynski
8fb37b9300 crimson/osd: improve debugs along stopping OperationRegistry
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-07-12 16:58:28 +00:00
Radoslaw Zarzynski
55145330c4 crimson/osd: stop ShardServices when stopping OSD
This patch fixes leaks of `ClientReqtest` instances observed
previously on OSD's stop.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-07-12 16:58:28 +00:00
Ernesto Puerta
1647216bf4
Merge pull request #46510 from nSedrickm/accessibility-improvements
mgr/dashboard: improve accessibility of login page 

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-07-12 17:19:30 +02:00
dux
ed2c0247f9 examples/boto3: Updating Python examples to work with Python 3
Signed-off-by: dux <faithuniterh@tutanota.com>
2022-07-12 14:53:35 +00:00
Guillaume Abrioux
0e303cffdf cephadm: update LATEST_STABLE_RELEASE
The latest stable release of Ceph is Quincy.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-07-12 16:37:17 +02:00
Yuri Weinstein
bafe199b9d
Merge pull request #46764 from Matan-B/wip-matanb-osd-cleanup
osd: MOSDPGCreate, MOSDScrub cleanup

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2022-07-12 06:35:13 -07:00
Venky Shankar
8323b6fef5
Merge pull request #46950 from dparmar18/fix_dirfrags_doc
doc/cephfs/dirfrags: clarify the unit of threshold limits

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2022-07-12 12:26:45 +05:30
Yin Congmin
eb94cda7bc cmake: add ndctl and daxctl to build pmdk
In order to enable the pmem character device, add ndctl=y to the parameter
of compiling the pmdk library when WITH_BLUESTORE_PMEM is ON. Because
after find_ndctl and find_daxctl are added, the dependency packages
required by WITH_BLUESTORE_PMEM and WITH_RBD_RWL become more different.
So separated these two. libpmem has no version required. libpmemobj
required version >=1.8.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2022-07-12 10:33:04 +08:00
Yin Congmin
b6b24852a6 cmake: add findndctl and finddaxctl function
In order to support the character device of pmem usage in bluestore via
libpmem built by Ceph itself, we need to enable daxctl and ndctl
dependency. add the installation of ndctl and find it. the version of
ndctl and daxctl library requires >63. "apt-get install" meet the version
under ubuntu focal.

the installation of ndctl-devel in ceph.spec.in has not been verified.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2022-07-12 10:32:57 +08:00
zdover23
edd4e553ef
Merge pull request #47045 from zdover23/wip-doc-2022-07-12-dev-guide-dependabot-GitHub-typo
doc/dev: s/github/GitHub/ in essentials.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-12 04:24:38 +10:00
zdover23
24252cb6dd
Merge pull request #47031 from zdover23/wip-doc-2022-07-10-internals-cephfs-delayed-deletion-edit
doc/dev: edit delayed-delete.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-12 04:17:44 +10:00
Zac Dover
f7581e05b0 doc/dev: s/github/GitHub/ in essentials.rst
This addresses a typo that Anthony D'Atri pointed out in
PR#47032. It didn't get addressed there, so it's being
addressed here.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-07-12 02:58:18 +10:00