]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agoRevert "mgr/dashboard:test prometheus rules through promtool" 40419/head
Brad Hubbard [Thu, 25 Mar 2021 23:57:14 +0000 (09:57 +1000)]
Revert "mgr/dashboard:test prometheus rules through promtool"

Reverts: https://github.com/ceph/ceph/pull/39983

This is currently blocking testing on ubuntu on the eve of a pacific
release. The problems associated with this PR have been resolved
upstream but have not been backported yet and are non-trivial.

This reverts commit be7f9e704c8d9ab70713a78c9a83481b5e26ee79.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoMerge pull request #40361 from sseshasa/wip-pacific-release-note
Neha Ojha [Thu, 25 Mar 2021 17:42:01 +0000 (10:42 -0700)]
Merge pull request #40361 from sseshasa/wip-pacific-release-note

pacific: PendingReleaseNotes: Document mclock scheduler refinements and profiles

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #40325 from batrick/49930
Yuri Weinstein [Thu, 25 Mar 2021 17:35:30 +0000 (10:35 -0700)]
Merge pull request #40325 from batrick/49930

pacific: mon/MDSMonitor: standby-replay daemons should be removed when the flag is turned off

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40267 from kotreshhr/wip-49905-pacific
Yuri Weinstein [Thu, 25 Mar 2021 17:34:09 +0000 (10:34 -0700)]
Merge pull request #40267 from kotreshhr/wip-49905-pacific

pacific: mgr/volumes: Retain suid guid bits in clone

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40091 from batrick/i49610
Yuri Weinstein [Thu, 25 Mar 2021 17:33:27 +0000 (10:33 -0700)]
Merge pull request #40091 from batrick/i49610

pacific: qa: mds removed because trimming for too long with valgrind

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40069 from petrutlucian94/wip-49634-pacific
Yuri Weinstein [Thu, 25 Mar 2021 17:32:42 +0000 (10:32 -0700)]
Merge pull request #40069 from petrutlucian94/wip-49634-pacific

pacific: cephfs: Add ceph-dokan, providing Windows support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #39974 from singuliere/wip-49346-pacific
Yuri Weinstein [Thu, 25 Mar 2021 17:32:07 +0000 (10:32 -0700)]
Merge pull request #39974 from singuliere/wip-49346-pacific

pacific: vstart: fix ganesha cluster id and rados url errors

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
4 years agoMerge pull request #39972 from singuliere/wip-49687-pacific
Yuri Weinstein [Thu, 25 Mar 2021 17:30:35 +0000 (10:30 -0700)]
Merge pull request #39972 from singuliere/wip-49687-pacific

pacific: mds: add opened files/inodes and pinned i_caps metric payload support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40206 from vshankar/wip-cephfs-mirror-pacific-backport-2
Venky Shankar [Thu, 25 Mar 2021 17:05:09 +0000 (22:35 +0530)]
Merge pull request #40206 from vshankar/wip-cephfs-mirror-pacific-backport-2

pacific: cephfs-mirror: peer bootstrap

Reviewed-by: Venky Shankar <vshankar@redhat.com>
4 years agoMerge pull request #40349 from neha-ojha/wip-39729-pacific
Yuri Weinstein [Thu, 25 Mar 2021 17:00:58 +0000 (10:00 -0700)]
Merge pull request #40349 from neha-ojha/wip-39729-pacific

pacific: os/bluestore: Add use_direct_io function

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
4 years agoMerge PR #40317 into pacific
Patrick Donnelly [Wed, 24 Mar 2021 23:11:03 +0000 (16:11 -0700)]
Merge PR #40317 into pacific

* refs/pull/40317/head:
cephsqlite: add julian day offset in milliseconds
doc: add libcephsqlite
ceph.spec,debian: package libcephsqlite
test/libcephsqlite,qa: add tests for libcephsqlite
libcephsqlite: rework architecture and backend
SimpleRADOSStriper: wait for finished aios after write
SimpleRADOSStriper: add new minimal async striper
mon: define simple-rados-client-with-blocklist profile
librados: define must renew lock flag
common: add timeval conversion for durations
Revert "libradosstriper: add function to read into char*"
test_libcephsqlite: test random inserts
cephsqlite: fix compiler errors
cmake: improve build inst for cephsqlite
libcephsqlite: sqlite interface to RADOS
libradosstriper: add function to read into char*

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoPendingReleaseNotes: Document mclock scheduler refinements and profiles 40361/head
Sridhar Seshasayee [Wed, 24 Mar 2021 07:52:03 +0000 (13:22 +0530)]
PendingReleaseNotes: Document mclock scheduler refinements and profiles

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
4 years agoMerge pull request #39999 from rhcs-dashboard/wip-49708-pacific
Ernesto Puerta [Wed, 24 Mar 2021 16:11:18 +0000 (17:11 +0100)]
Merge pull request #39999 from rhcs-dashboard/wip-49708-pacific

pacific: mgr/dashboard: cluster > hosts: replace inventory->devices table title

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge PR #39988 into pacific
Patrick Donnelly [Wed, 24 Mar 2021 15:52:55 +0000 (08:52 -0700)]
Merge PR #39988 into pacific

* refs/pull/39988/head:
doc: fix broken links multimds and kcephfs

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 years agoMerge PR #40250 into pacific
Patrick Donnelly [Wed, 24 Mar 2021 15:49:18 +0000 (08:49 -0700)]
Merge PR #40250 into pacific

* refs/pull/40250/head:
doc: mds cap acquisition readdir throttle documentation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #40306 into pacific
Patrick Donnelly [Wed, 24 Mar 2021 15:48:51 +0000 (08:48 -0700)]
Merge PR #40306 into pacific

* refs/pull/40306/head:
doc/cephfs/nfs: Add rook pod restart note, export and log block example

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40255 from singuliere/wip-49743-pacific
Casey Bodley [Wed, 24 Mar 2021 15:47:46 +0000 (11:47 -0400)]
Merge pull request #40255 from singuliere/wip-49743-pacific

pacific: rgw: limit rgw_gc_max_objs to RGW_SHARDS_PRIME_1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40261 from singuliere/wip-49310-pacific
Casey Bodley [Wed, 24 Mar 2021 15:47:38 +0000 (11:47 -0400)]
Merge pull request #40261 from singuliere/wip-49310-pacific

WIP: pacific: rgw: add support for SSL encrypted AMQP connections

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40338 from cbodley/wip-rgw-lc-lock-pacific
Casey Bodley [Wed, 24 Mar 2021 15:47:22 +0000 (11:47 -0400)]
Merge pull request #40338 from cbodley/wip-rgw-lc-lock-pacific

pacific: rgw/lc: Fix use-after-free in RGWLC::process

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoMerge PR #40362 into pacific
Patrick Donnelly [Wed, 24 Mar 2021 15:45:12 +0000 (08:45 -0700)]
Merge PR #40362 into pacific

* refs/pull/40362/head:
doc/cephfs/nfs: Add note about cephadm NFS-Ganesha daemon port

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #40094 into pacific
Sage Weil [Wed, 24 Mar 2021 15:34:03 +0000 (10:34 -0500)]
Merge PR #40094 into pacific

* refs/pull/40094/head:
rgw/kms/vault - PendingReleaseNotes pointer
rgw/kms/vault - s3tests for both old and new test logic.
rgw/kms/vault - rework unit test logic for new transit logic.
rgw/kms/vault - 0 terminate before rapidjson
rgw/kms/vault - document configuration for new transit logic
rgw/kms/vault - new transit logic - fix compat logic
rgw/kms/vault - define attribute for new transit logic
rgw/kms/vault - "compat" option
rgw/kms/vault - encryption context - first part
rgw/kms/vault - define attribute to store encryption context
rgw/kms/vault - share get/set attr between rgw_crypt.cc and rgw_kms.cc
rgw/kms/vault - relax configuration parsing for rgw_crypt_vault_secret_engine
rgw/kms/vault - need libicu to make canonical json for encryption contexts.
rgw/kms/kmip - document configuration for a new feature: kmip kms
rgw/kms/kmip - rgw / kmip test integration.
rgw/kms/kmip - rgw / kmip test integration.
rgw/kms/kmip - rgw / kmip test integration.
rgw/kms/kmip - correct documentation.
rgw/kms/kmip - pykmip.py needs to make keys too.
rgw/kms/kmip - pykmip.py should actually run pykmip.
rgw/kms/kmip - python3 changes for testing.
rgw/kms/kmip - string handling cleanup.
teuthology/rgw: pykmip task
kmip: first pass at implementation logic.
kmip: configuration options.
Including cmake build logic inside of libkmip.
cmake glue to build libkmip.
Added libkmip as a submodule.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agocephsqlite: add julian day offset in milliseconds 40317/head
Patrick Donnelly [Wed, 24 Mar 2021 00:34:45 +0000 (17:34 -0700)]
cephsqlite: add julian day offset in milliseconds

This magic number was copied from another VFS but was not adjusted for
the xCurrentTimeInt64 interface.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 9107e1a34743167d8f0cf969a440f5aaed2848af)

4 years agoMerge pull request #40262 from singuliere/wip-49176-pacific
Casey Bodley [Wed, 24 Mar 2021 14:11:51 +0000 (10:11 -0400)]
Merge pull request #40262 from singuliere/wip-49176-pacific

pacific: rgw: Fix spurious error on empty datalog shard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40256 from singuliere/wip-49722-pacific
Casey Bodley [Wed, 24 Mar 2021 14:11:31 +0000 (10:11 -0400)]
Merge pull request #40256 from singuliere/wip-49722-pacific

pacific: qa/rgw: add librgw_file unit tests to rgw/verify task

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40257 from singuliere/wip-49601-pacific
Casey Bodley [Wed, 24 Mar 2021 14:11:23 +0000 (10:11 -0400)]
Merge pull request #40257 from singuliere/wip-49601-pacific

pacific: rgw/sts: fix for encoding/decoding user namespace

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40258 from singuliere/wip-49587-pacific
Casey Bodley [Wed, 24 Mar 2021 14:11:15 +0000 (10:11 -0400)]
Merge pull request #40258 from singuliere/wip-49587-pacific

pacific: rgw: added missing documentation on "pubsub" in rgw_enable_apis

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40259 from singuliere/wip-49381-pacific
Casey Bodley [Wed, 24 Mar 2021 14:11:07 +0000 (10:11 -0400)]
Merge pull request #40259 from singuliere/wip-49381-pacific

pacific: rgw: multisite: fix single-part-MPU object etag misidentify problem

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40260 from singuliere/wip-49362-pacific
Casey Bodley [Wed, 24 Mar 2021 14:10:57 +0000 (10:10 -0400)]
Merge pull request #40260 from singuliere/wip-49362-pacific

pacific: rgw: fix sts get_session_token duration check failed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #40339 from dillaman/wip-librbd-backports-pacific-10
Jason Dillaman [Wed, 24 Mar 2021 14:07:20 +0000 (10:07 -0400)]
Merge pull request #40339 from dillaman/wip-librbd-backports-pacific-10

pacific: librbd: miscellaneous backports

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #40340 from rhcs-dashboard/wip-49941-pacific
Ernesto Puerta [Wed, 24 Mar 2021 11:58:18 +0000 (12:58 +0100)]
Merge pull request #40340 from rhcs-dashboard/wip-49941-pacific

pacific: mgr/dashboard: fix error shown when no rgw daemons are running.

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #40360 from rhcs-dashboard/wip-49944-pacific
Ernesto Puerta [Wed, 24 Mar 2021 11:32:04 +0000 (12:32 +0100)]
Merge pull request #40360 from rhcs-dashboard/wip-49944-pacific

pacific: mgr/dashboard: Display users current quota usage

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
4 years agodoc/cephfs/nfs: Add note about cephadm NFS-Ganesha daemon port 40362/head
Varsha Rao [Mon, 22 Mar 2021 11:51:53 +0000 (17:21 +0530)]
doc/cephfs/nfs: Add note about cephadm NFS-Ganesha daemon port

Fixes: https://tracker.ceph.com/issues/49921
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit fec8bbf5cd3e3dd72d05c4eb23209c84f056edda)

4 years agomgr/dashboard: Display users current quota usage 40360/head
Avan Thakkar [Sat, 1 Aug 2020 10:36:13 +0000 (16:06 +0530)]
mgr/dashboard: Display users current quota usage

Fixes: https://tracker.ceph.com/issues/45965
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 9456884c2996d31ce9c39e39011d295c5e62bcf7)

4 years agoMerge pull request #40310 from neha-ojha/wip-49908-pacific
Yuri Weinstein [Tue, 23 Mar 2021 19:12:50 +0000 (12:12 -0700)]
Merge pull request #40310 from neha-ojha/wip-49908-pacific

pacific: mon/MgrStatMonitor: ignore MMgrReport from non-active mgr

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #40309 from neha-ojha/wip-49920-pacific
Yuri Weinstein [Tue, 23 Mar 2021 19:12:19 +0000 (12:12 -0700)]
Merge pull request #40309 from neha-ojha/wip-49920-pacific

pacific: common/options: turn off bluestore_fsck_quick_fix_on_mount by default

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #40289 from liewegas/bug-49427-pacific
Yuri Weinstein [Tue, 23 Mar 2021 19:11:56 +0000 (12:11 -0700)]
Merge pull request #40289 from liewegas/bug-49427-pacific

pacific: osd: fix missing adjacent snaps when handling manifest object

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #40000 from rhcs-dashboard/wip-49702-pacific
Ernesto Puerta [Tue, 23 Mar 2021 17:23:17 +0000 (18:23 +0100)]
Merge pull request #40000 from rhcs-dashboard/wip-49702-pacific

pacific: mgr/dashboard: fix dashboard instance ssl certificate functionality

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoos/bluestore: Add use_direct_io function 40349/head
Adam Kupczyk [Fri, 26 Feb 2021 20:05:35 +0000 (21:05 +0100)]
os/bluestore: Add use_direct_io function

Add use_direct_io() that allows rocksdb to adapt prefetch algorithms to what filesystem supports.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit 97f40a86cb79c16fa4e19d1905521e6fc677ef1d)

4 years agoMerge pull request #40086 from batrick/i49564
Yuri Weinstein [Tue, 23 Mar 2021 15:00:32 +0000 (08:00 -0700)]
Merge pull request #40086 from batrick/i49564

pacific: mon/MonCap: `fs authorize` generates unparseable cap for file system name containing '-'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40082 from batrick/i49569
Yuri Weinstein [Tue, 23 Mar 2021 14:58:50 +0000 (07:58 -0700)]
Merge pull request #40082 from batrick/i49569

pacific: qa: rank_freeze prevents failover on some tests

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40093 from batrick/i49474
Yuri Weinstein [Tue, 23 Mar 2021 14:56:36 +0000 (07:56 -0700)]
Merge pull request #40093 from batrick/i49474

pacific: nautilus: qa: "Assertion `cb_done' failed."

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40092 from batrick/i49512
Yuri Weinstein [Tue, 23 Mar 2021 14:55:51 +0000 (07:55 -0700)]
Merge pull request #40092 from batrick/i49512

pacific: client: allow looking up snapped inodes by inode number+snapid tuple

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40090 from batrick/i49751
Yuri Weinstein [Tue, 23 Mar 2021 14:55:09 +0000 (07:55 -0700)]
Merge pull request #40090 from batrick/i49751

pacific: snap-schedule doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40089 from batrick/i49561
Yuri Weinstein [Tue, 23 Mar 2021 14:53:46 +0000 (07:53 -0700)]
Merge pull request #40089 from batrick/i49561

pacific: qa: file system deletion not complete because starter fs already destroyed

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40087 from batrick/i49470
Yuri Weinstein [Tue, 23 Mar 2021 14:52:49 +0000 (07:52 -0700)]
Merge pull request #40087 from batrick/i49470

pacific: qa: ffsb workload: PG_AVAILABILITY|PG_DEGRADED warnings

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40085 from batrick/i49517
Yuri Weinstein [Tue, 23 Mar 2021 14:51:27 +0000 (07:51 -0700)]
Merge pull request #40085 from batrick/i49517

pacific: pybind/cephfs: DT_REG and DT_LNK values are wrong

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40083 from batrick/i49608
Yuri Weinstein [Tue, 23 Mar 2021 14:50:36 +0000 (07:50 -0700)]
Merge pull request #40083 from batrick/i49608

pacific: mds: define CephFS errors that replace standard errno values

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40081 from batrick/i49612
Yuri Weinstein [Tue, 23 Mar 2021 14:48:49 +0000 (07:48 -0700)]
Merge pull request #40081 from batrick/i49612

pacific: qa: racy session evicted check

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40080 from batrick/i49630
Yuri Weinstein [Tue, 23 Mar 2021 14:48:02 +0000 (07:48 -0700)]
Merge pull request #40080 from batrick/i49630

pacific: qa: slow metadata ops during scrubbing

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40079 from batrick/i49631
Yuri Weinstein [Tue, 23 Mar 2021 14:47:13 +0000 (07:47 -0700)]
Merge pull request #40079 from batrick/i49631

pacific: mds: don't start purging inodes in the middle of recovery

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agolibrbd/cache/pwl: fix bug of flush request blocked by deferd IO 40339/head
Yin Congmin [Thu, 18 Mar 2021 13:33:07 +0000 (21:33 +0800)]
librbd/cache/pwl: fix bug of flush request blocked by deferd IO

Flush requests do not need to be queued behind the defer_io queue,
should be issued immediately. Otherwise, there will be a deadlock
scenario in which dirty data is waiting for flush req, flush req is
waiting for defer_io empty, and defer_io is waiting for dirty data
persistence to release space. So this sometimes occur when the cache
is small but the IO is large or the queue depth is large.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
(cherry picked from commit 6583182f624386bfbb7375fb227dfb77b0a3209d)

4 years agomgr/dashboard: fix error notification shown when no rgw daemons are running. 40340/head
Alfonso Martínez [Tue, 23 Mar 2021 10:14:11 +0000 (11:14 +0100)]
mgr/dashboard: fix error notification shown when no rgw daemons are running.

- Adapted code to changes introduced in: https://github.com/ceph/ceph/pull/40220
- Improved error handling.
- Increased test coverage.
- Some refactoring.
- Simplified documentation about setting default daemon host and port.

Fixes: https://tracker.ceph.com/issues/49655
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 58253a0002f8722abecaaf58161f6494fbe0eaa0)

4 years agoceph.spec: build with system libpmem on fedora and el8
Kefu Chai [Fri, 12 Mar 2021 04:02:22 +0000 (12:02 +0800)]
ceph.spec: build with system libpmem on fedora and el8

* build with WITH_SYSTEM_PMDK=ON on fedora, as f32 and f33 ship
  libpmem1.8 and libpmem1.9 respectively. and we need libpmem v1.7
* build with WITH_SYSTEM_PMDK=ON on el8, as el8 and CentOS8 AppStream
  ships libpmem v1.6,

quote from nvml.spec:

> By design, PMDK does not support any 32-bit architecture.
> Due to dependency on some inline assembly, PMDK can be compiled only
> on these architectures:
> - x86_64
> - ppc64le (experimental)
> - aarch64 (unmaintained, supporting hardware doesn't exist?)

so far, only x86_64 and ppc64le packages are built.

see also,
https://src.fedoraproject.org/rpms/nvml/blob/rawhide/f/nvml.spec

this change addresses a regression introduced by
a49d1dbb32e2436ff2836a85b2fa84418f0a5fff

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 75b58115ead7a42495b60cccf43e7a433fcc4a5f)

Conflicts:
ceph.spec.in: trivial resolution

4 years agorgw/lc: Fix use-after-free in RGWLC::process 40338/head
Soumya Koduri [Tue, 22 Dec 2020 17:27:52 +0000 (22:57 +0530)]
rgw/lc: Fix use-after-free in RGWLC::process

Fixed use-after-free issue with 'rgw::sal::LCSerializer lock'
in RGWLC::process.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit e54e68ad3c88766ac370dfe2bbb5b123e18a7392)

4 years agoMerge pull request #40315 from guits/wip-49924-pacific
Guillaume Abrioux [Tue, 23 Mar 2021 08:09:24 +0000 (09:09 +0100)]
Merge pull request #40315 from guits/wip-49924-pacific

pacific: ceph-volume: show devices with GPT headers as not available

4 years agotest: pass peer uuid when adding cephfs mirror peers 40206/head
Venky Shankar [Tue, 16 Mar 2021 05:27:58 +0000 (01:27 -0400)]
test: pass peer uuid when adding cephfs mirror peers

Fixes: http://tracker.ceph.com/issues/49822
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f27678280387bbde86db4a96e176d033965790ea)

4 years agomon: check cephfs mirror peer based on remote cluster spec and file system name
Venky Shankar [Tue, 16 Mar 2021 05:27:14 +0000 (01:27 -0400)]
mon: check cephfs mirror peer based on remote cluster spec and file system name

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit b625c2634d7c8c8b78e43bc5c9d22b2fa2b8fccc)

4 years agotest: add symbolic link synchronization test for cephfs-mirror
Venky Shankar [Wed, 10 Mar 2021 13:40:40 +0000 (08:40 -0500)]
test: add symbolic link synchronization test for cephfs-mirror

Fixes: http://tracker.ceph.com/issues/49711
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit cecc3a6982f8e6a44e4287ed2e16d663b2837cd3)

4 years agocephfs-mirror: null terminate buffer before synchronizing symbolc link
Venky Shankar [Wed, 10 Mar 2021 13:37:47 +0000 (08:37 -0500)]
cephfs-mirror: null terminate buffer before synchronizing symbolc link

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 30f2066cfdb359c06167068253de0627b15aff91)

4 years agodoc: clarify mirror daemon user capability requirements
Venky Shankar [Thu, 11 Mar 2021 04:31:45 +0000 (23:31 -0500)]
doc: clarify mirror daemon user capability requirements

Fixes: http://tracker.ceph.com/issues/49619
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 943ea38678ee6b3bc1c329c3cc56d0e61d87088e)

4 years agodoc: doc changes for additional mirroring interfaces
Venky Shankar [Thu, 4 Mar 2021 04:29:03 +0000 (23:29 -0500)]
doc: doc changes for additional mirroring interfaces

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f766e8297ce1eba06e25891a22428a63ae386f60)

4 years agopybind/mirroring: add interface to list file system mirror peers
Venky Shankar [Tue, 9 Mar 2021 04:44:29 +0000 (23:44 -0500)]
pybind/mirroring: add interface to list file system mirror peers

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 8ee88f57355954977320d9967b4cadfe18150f8f)

4 years agopybind/mirroring: set libcephfs handle root uid/gid as 0:0
Venky Shankar [Tue, 9 Mar 2021 11:18:20 +0000 (16:48 +0530)]
pybind/mirroring: set libcephfs handle root uid/gid as 0:0

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 928e3c49338078ce1b28e66b318a39dc9e2cc724)

4 years agotest: add tests for mirroring bootstrap interfaces
Venky Shankar [Thu, 4 Mar 2021 05:01:48 +0000 (00:01 -0500)]
test: add tests for mirroring bootstrap interfaces

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 3e13f489371201488e8d80ddaf77976559e3c6df)

4 years agopybind/mirroring: introduce peer_bootstrap {create|import} commands
Venky Shankar [Thu, 4 Mar 2021 05:07:43 +0000 (00:07 -0500)]
pybind/mirroring: introduce peer_bootstrap {create|import} commands

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 8d2c726e3c1953b1b21dd365d3963078f551747b)

4 years agocephfs-mirror: use peer cluster monitor address (and key) if available
Venky Shankar [Tue, 23 Feb 2021 04:21:47 +0000 (23:21 -0500)]
cephfs-mirror: use peer cluster monitor address (and key) if available

This allows connecting to the peer cluster without having the cluster
configuration file on the primary cluster.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit ab410213fedc0247161809258966575688fa8cb9)

4 years agomon: peer_add should accept Ceph file system UUID
Venky Shankar [Tue, 23 Feb 2021 04:06:19 +0000 (23:06 -0500)]
mon: peer_add should accept Ceph file system UUID

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit a04010e9490aa726d219c41139c27417dac836e2)

4 years agomon: introduce "profile cephfs-mirror" cap constrained to "config-get cephfs/mirror...
Venky Shankar [Thu, 4 Mar 2021 05:01:11 +0000 (00:01 -0500)]
mon: introduce "profile cephfs-mirror" cap constrained to "config-get cephfs/mirror/peer"

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f1858bf650ef0d23dbf2166ea2acb80bf9962d81)

4 years agotest: add test for failed filesystem mirror instances
Venky Shankar [Mon, 8 Mar 2021 09:49:52 +0000 (04:49 -0500)]
test: add test for failed filesystem mirror instances

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit d1585af77b184ad6e684902002ecdcc28f85adae)

4 years agocephfs-mirror: restart failed mirror filesystem instances
Venky Shankar [Mon, 8 Mar 2021 09:48:56 +0000 (04:48 -0500)]
cephfs-mirror: restart failed mirror filesystem instances

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 158884820ee2ab7982ae4a75f571730ba5c3b439)

4 years agodoc: add note about disabling standby-replay during upgrades 40325/head
Patrick Donnelly [Tue, 16 Mar 2021 15:31:48 +0000 (08:31 -0700)]
doc: add note about disabling standby-replay during upgrades

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 29b4c0d9d5a9bb48fd54d17d050c5baa8e7660ff)

4 years agoqa: add test for standby-replay disable
Patrick Donnelly [Tue, 16 Mar 2021 02:44:23 +0000 (19:44 -0700)]
qa: add test for standby-replay disable

Causes all standby-replay daemons to be removed.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7925394ddfca186cb67156cf585647d5b47b1b67)

4 years agomon: fail standby-replay daemons when flag is turned off
Patrick Donnelly [Tue, 16 Mar 2021 02:40:51 +0000 (19:40 -0700)]
mon: fail standby-replay daemons when flag is turned off

This will simplify upgrade procedures.

Fixes: https://tracker.ceph.com/issues/49719
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 131e8841a32dde2b692e13ac31d9d3bab6cdd4a4)

4 years agoMerge PR #40184 into pacific
Sage Weil [Tue, 23 Mar 2021 00:20:48 +0000 (19:20 -0500)]
Merge PR #40184 into pacific

* refs/pull/40184/head:
qa/suites/rados/cephadm/orchestrator_cli: random-distro$ -> 0-random-distro$
qa/suites/rados/cephadm/smoke-roleless: distro -> 0-distro
qa/distros/podman: install kubic once per host, in parallel
qa/suites/fs/multiclient: use clients: not all: for pexec

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge PR #40202 into pacific
Sage Weil [Tue, 23 Mar 2021 00:20:39 +0000 (19:20 -0500)]
Merge PR #40202 into pacific

* refs/pull/40202/head:
qa/suites/rados/cephadm/upgrade: wait for rgw servicemap entries to refresh
mgr/cephadm: identify iscsi service by the pool
qa/distros/podman: install containernetworking-plugins along with podman
python-common: Validate characters in service_id for container names
qa/suites/rados/cephadm/smoke-roleless: deploy additional daemon types
cephadm: fix a minor typo in logging message
qa/suites/rados/cephadm/dashboard: test on centos
cephadm: use debug verbosity during container exec
mgr/cephadm/upgrade: do not repeat crash message
mgr/cephadm/upgrade: a little less verbose
mgr/cephadm: don't log not-ok-to-stop at ERR level
mgr/cephadm: is presumed -> appears
mgr/cephadm: don't double-log ok-to-stop results
mgr/cephadm/upgrade: include upgrade progress in ceph -s
mgr/cephadm: clean up misc messages
mgr/cephadm/configcheck: do not spam info every minute
mgr/cephadm: stop conflicting daemon when deploying to a specific port
mgr/cephadm: make DaemonPlacement print nicer
mgr/cephadm: fix --force remove comment
mgr/cephadm/schedule: choose an IP from a subnet list
mgr/cephadm: rgw: clean up config and config-key values on removal
mgr/cephadm: rgw: drop .crt extension when storing cert in config-key
mgr/cephadm/services: allow beast/civetweb to bind to a particular IP
python-common: add 'networks' property to ServiceSpec
mgr/cephadm/schedule: match placement ip only combination with port
mgr/cephadm: less noise about refreshing hosts
mgr/cephadm: fall back to service spec port if none on DaemonDescription
mgr/cephadm: fix redeploy when daemons have ip:port
mgr/cephadm/schedule: add test case
qa/suites/rados/cephadm/smoke-roleless: add rgw test on many ports
doc/cephadm/rgw: update docs to show count-per-host
mgr/cephadm: add support for rgw_frontend_type (beast or civetweb)
mgr/cephadm: remove ssl_frontend_ssl_key from RGWSpec
mgr/cephadm: fix beast private key config option
mgr/cephadm: fix rgw ssl cert/key config-key path
mgr/cephadm/schedule: dynamically assign ports for rgw
mgr/cephadm/schedule: only 1 port in DaemonPlacement
mgr/cephadm: move rgw frontend logic into RgwService
mgr/cephadm/schedule: return DaemonPlacement instead of HostPlacementSpec
mgr/cephadm/schedule: remove unused methods
mgr/cephadm: propagate ip:port from CephadmDaemoNDeploySpec to deployment
cephadm: populate ports if known and not included in unit.meta
mgr/cephadm: gather and report ports in 'orch ps' output
qa/suites/rados/cephadm/orchestrator_cli: random-distro$ -> 0-random-distro$
qa/suites/rados/cephadm/smoke-roleless: distro -> 0-distro
qa/distros/podman: install kubic once per host, in parallel
qa/suites/fs/multiclient: use clients: not all: for pexec
mgr/cephadm: add info to 'ceph orch upgrade status' in cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
4 years agoMerge PR #40279 into pacific
Sage Weil [Tue, 23 Mar 2021 00:20:30 +0000 (19:20 -0500)]
Merge PR #40279 into pacific

* refs/pull/40279/head:
mgr/cephadm: identify rgw, cepfs-mirror in servicemap
mgr/ServiceMap: adjust 'ceph -s' summary
rgw: register daemons in servicemap by gid; include id
cephadm: fix rbd-mirror auth name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoqa/suites/rados/cephadm/upgrade: wait for rgw servicemap entries to refresh 40202/head
Sage Weil [Sun, 21 Mar 2021 14:07:49 +0000 (09:07 -0500)]
qa/suites/rados/cephadm/upgrade: wait for rgw servicemap entries to refresh

rgw changed the way it registered in the service map.  Wait a bit for
the old entries to be flushed out.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 3f3d955b19a1dcadbe8137b32eb695e8be6b496a)

4 years agomgr/cephadm: identify iscsi service by the pool
Sage Weil [Fri, 19 Mar 2021 15:59:46 +0000 (10:59 -0500)]
mgr/cephadm: identify iscsi service by the pool

Since we deploy one of these per pool, name the service by the pool.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit d8fff6e522d91a56f93c613710e45c232f4450fd)

4 years agoqa/distros/podman: install containernetworking-plugins along with podman
Kefu Chai [Mon, 22 Mar 2021 06:49:13 +0000 (14:49 +0800)]
qa/distros/podman: install containernetworking-plugins along with podman

/etc/cni/net.d/87-podman-bridge.conflist tries to load "bridge",
"firewall", "tuning" and "portmap" plugins, which are provided by
containernetworking-plugins package.

Fixes: https://tracker.ceph.com/issues/49909
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 325c8fce46bee0b5046b2c5ae732678aeeec6629)

4 years agodoc: add libcephsqlite
Patrick Donnelly [Thu, 28 Jan 2021 23:03:33 +0000 (15:03 -0800)]
doc: add libcephsqlite

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d08a977a7600dee37b2119d653b06e61a74cf4f8)

4 years agoceph.spec,debian: package libcephsqlite
Patrick Donnelly [Sat, 30 Jan 2021 19:45:42 +0000 (11:45 -0800)]
ceph.spec,debian: package libcephsqlite

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 75980798f19b8c11efd75ba4aae3e491d4c99f98)

4 years agotest/libcephsqlite,qa: add tests for libcephsqlite
Patrick Donnelly [Thu, 28 Jan 2021 23:12:19 +0000 (15:12 -0800)]
test/libcephsqlite,qa: add tests for libcephsqlite

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 54b3c8f7a789068453a25c00730238f08d7fed68)

4 years agolibcephsqlite: rework architecture and backend
Patrick Donnelly [Thu, 28 Jan 2021 23:11:50 +0000 (15:11 -0800)]
libcephsqlite: rework architecture and backend

This is a complete rewrite on top of SimpleRADOSStriper as well as the
API. The VFS is now a loadable extension as well.

Fixes: https://tracker.ceph.com/issues/40609
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit f7fa3b50c1e87ad14b16024ec68812195480b102)

4 years agoSimpleRADOSStriper: wait for finished aios after write
Patrick Donnelly [Sat, 13 Mar 2021 21:39:50 +0000 (13:39 -0800)]
SimpleRADOSStriper: wait for finished aios after write

So the "aios" (better named) vector doesn't grow infinitely.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 458c6e7c12a6030d07cad2f1d132a43ec1c97fb4)

4 years agoSimpleRADOSStriper: add new minimal async striper
Patrick Donnelly [Thu, 28 Jan 2021 23:04:01 +0000 (15:04 -0800)]
SimpleRADOSStriper: add new minimal async striper

This was developed because the two other striper implementations were
unsuitable for libcephsqlite:

- libradosstriper: while the async APIs exist, its current protocol
  requires synchronously locking an object for every write/read whether
  that operation is async or not. For this reason, it's too far too slow
  for latency sensitive applications.

- osdc/Filer: this requires the object name to be an inode number. It
  also comes with other overhead burden which is not necessary for
  libcephsqlite including caching/buffering.

SimpleRADOSStriper aims to be a minimalistic heavily asynchronous
striper. One way it achieves this is through the use of exclusive locks
to protect access to the striped objects. Most metadata updates are
deferred until the striped file is unlocked, flushed, (or closed). All
reads/writes are asynchronous (but a read implicitly gathers async
striped reads for each op).  Writes are not buffered. Reads are not
cached. There is no readahead.

SimpleRADOSStriper aims to be compatible with the rados binary --striper
option for extracting files out of RADOS but it should not be used
otherwise.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 9d82cc629dff505403a5040595eb0773384992e8)

4 years agomon: define simple-rados-client-with-blocklist profile
Patrick Donnelly [Sat, 13 Mar 2021 17:41:34 +0000 (09:41 -0800)]
mon: define simple-rados-client-with-blocklist profile

A mon profile that grants the ability for rados clients to blocklist
others (similar to rbd).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 108f486afe772dff771137a13b33887e5bc2a55e)

4 years agolibrados: define must renew lock flag
Patrick Donnelly [Mon, 22 Feb 2021 03:19:25 +0000 (19:19 -0800)]
librados: define must renew lock flag

This flag already exists in cls_lock but was not made externally
available via librados. Additionally, internally cls_lock refers to the
_RENEW flag as _MAY_RENEW, add an alias for librados to match.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d3d683427d98b62d9b9974e455243bebe5119b53)

4 years agocommon: add timeval conversion for durations
Patrick Donnelly [Sat, 20 Feb 2021 03:18:25 +0000 (19:18 -0800)]
common: add timeval conversion for durations

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b158ee04f9e75b9a9c9d4f46e297b80319689754)

4 years agoRevert "libradosstriper: add function to read into char*"
Patrick Donnelly [Sat, 13 Mar 2021 20:53:50 +0000 (12:53 -0800)]
Revert "libradosstriper: add function to read into char*"

This reverts commit f7494cc1288dd4ba075975c110170e485c3e211b.

This change is no longer needed.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d0092746c7d1d234da9a9ba8fd6e3822d98897c6)

4 years agotest_libcephsqlite: test random inserts
Patrick Donnelly [Tue, 23 Jul 2019 21:46:03 +0000 (14:46 -0700)]
test_libcephsqlite: test random inserts

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8dbf5de84164c7991cc87b6fc57fb7f4847308f7)

4 years agocephsqlite: fix compiler errors
Patrick Donnelly [Tue, 23 Jul 2019 21:45:07 +0000 (14:45 -0700)]
cephsqlite: fix compiler errors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit bdb4443c34a04a4ab579499cca18dcfbe545972d)

4 years agocmake: improve build inst for cephsqlite
Patrick Donnelly [Tue, 23 Jul 2019 21:43:50 +0000 (14:43 -0700)]
cmake: improve build inst for cephsqlite

Notably, find SQLite and build the test code.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit eb52c869d5a3672a85b9dec25b9e372e57239bcf)

4 years agolibcephsqlite: sqlite interface to RADOS
Milind Changire [Tue, 16 Jul 2019 06:11:25 +0000 (11:41 +0530)]
libcephsqlite: sqlite interface to RADOS

This library provides a SQLite front-end to the RADOS objects.
This effort will help alleviate the restriction on number of key-value pairs
that can be stored in an object.
This interface is a generic one without any constraint on the database
schema either. Library clients can enforce any schema and use SQLite API
to store data in the database backed by RADOS Objects.

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 1bc229381af97d684c86a0625d5ab9699889ada4)

4 years agolibradosstriper: add function to read into char*
Milind Changire [Thu, 27 Jun 2019 13:35:26 +0000 (19:05 +0530)]
libradosstriper: add function to read into char*

Signed-off-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 02f5543c8df9e2a175ce5d9a96773b641e212c1c)

4 years agoceph-volume: show devices with GPT headers as not available 40315/head
Andrew Schoen [Wed, 17 Mar 2021 20:19:08 +0000 (15:19 -0500)]
ceph-volume: show devices with GPT headers as not available

This patch ensures that if a device has GPT headers it will
not show up in `ceph-volume inventory` as available.

Fixes: https://tracker.ceph.com/issues/48697
Resolves: rhbz#1908065

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 1347243242fc55c904c4d94fb43bdf0bcfc23ab0)

4 years agoMerge pull request #40254 from singuliere/wip-49767-pacific
Yuri Weinstein [Mon, 22 Mar 2021 15:22:43 +0000 (08:22 -0700)]
Merge pull request #40254 from singuliere/wip-49767-pacific

pacific: librbd: allow interrupted trash move request to be restarted

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #40253 from singuliere/wip-49773-pacific
Yuri Weinstein [Mon, 22 Mar 2021 15:22:13 +0000 (08:22 -0700)]
Merge pull request #40253 from singuliere/wip-49773-pacific

pacific: librbd/io: send alloc_hint when compression hint is set

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agomon/MgrStatMonitor: ignore MMgrReport from non-active mgr 40310/head
Sage Weil [Thu, 18 Mar 2021 16:45:48 +0000 (11:45 -0500)]
mon/MgrStatMonitor: ignore MMgrReport from non-active mgr

If it's not the active mgr, we should ignore it.

Since the mgr instance is best identified by the gid, add that to the
message.  (We can't use the source_addrs for the message since that is
the MgrStandby monc addr, not the active mgr addrs in the MgrMap.)

This fixes a problem where a just-demoted mgr report gets processed and a
new mgr gets a ServiceMap with an epoch >= its pending map.  (At least,
that is my theory!)

Fixes: https://tracker.ceph.com/issues/48022
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 4d447092c3542bf57dfb4942db766adf2923c069)

4 years agomgr: tell monc when we get new servicemap, fsmap
Sage Weil [Thu, 18 Mar 2021 15:40:42 +0000 (10:40 -0500)]
mgr: tell monc when we get new servicemap, fsmap

Otherwise, when we re-subscribe we'll request an old map again.  In the
case of the servicemap, that can lead to a failed assertion.

Fixes: https://tracker.ceph.com/issues/48022
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 3dbc1f0578d944217ad2bacb58ef561e678abb6c)

4 years agocommon/options: turn off bluestore_fsck_quick_fix_on_mount by default 40309/head
Josh Durgin [Wed, 17 Mar 2021 18:51:27 +0000 (14:51 -0400)]
common/options: turn off bluestore_fsck_quick_fix_on_mount by default

This option enables 3 conversions:

1) pool stats, added in nautilus
2) per-pool omap, added in octopus
3) per-pg omap (replacing (2)) in pacific

Upgrading the long running cluster in sepia from octopus to pacific
resulted in conversion (3). This conversion isn't particularly useful
yet since the follow-on optimization of pg removal aren't in pacific
yet.

This took 25 minutes for the SSD-based osds with <10GB of omap. That's
a lot of disruption, and some clusters have 10x that much omap data.

Upgrades going from nautilus to pacific will miss the finer-grained
stats granularity, but isn't such an important feature it's worth
causing potential availability problems.

In the future we can orchestrate these format changes via cephadm/rook
to minimize the impact on the whole cluster, e.g. going an osd at a
time or doing it during an off-peak period, and not necessarily at the
same time as an upgrade.

Fixes: https://tracker.ceph.com/issues/45265
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit c3e7acb3acd4b099c12062aadf7d413d80ab0cab)