]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 months agocls/rgw: non-versioned listings skip past version suffix 62591/head
Casey Bodley [Tue, 11 Mar 2025 16:07:22 +0000 (12:07 -0400)]
cls/rgw: non-versioned listings skip past version suffix

when skipping a versioned entry for a non-versioned listing, we must
advance the marker or risk infinite loops. in particular, plain entries
converted by convert_plain_entry_to_versioned() sort at the end of an
object's versions, but have an empty version id whose retry would start
back at the beginning of the object's versions

Fixes: https://tracker.ceph.com/issues/70399
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 90902ce21864cadeca87684eff0b0e1a24970384)

3 months agocls/rgw: log input arguments to rgw_bucket_list()
Casey Bodley [Tue, 11 Mar 2025 19:41:19 +0000 (15:41 -0400)]
cls/rgw: log input arguments to rgw_bucket_list()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9f55c66709b4054c62e2a4847bddcd4ec89aea76)

3 months agorgw/rados: fix list_objects_ordered() detection of "forward progress"
Casey Bodley [Tue, 11 Mar 2025 16:51:02 +0000 (12:51 -0400)]
rgw/rados: fix list_objects_ordered() detection of "forward progress"

for multiple versions of the same object name, ListObjectVersions is
supposed to return versions "in the order that they were stored,
returning the most recently stored object first"

this sort order is preserved by the bucket index in cls_rgw, so
list_objects_ordered() should not expect the version ids to be sorted
lexicographically. replace the not-less-than comparison with equality

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 24f55b883e5009b032e1c0e91932a01d5d231945)

3 months agoMerge pull request #62503 from zdover23/wip-doc-2025-03-26-backport-62459-to-reef
Zac Dover [Thu, 27 Mar 2025 14:33:30 +0000 (00:33 +1000)]
Merge pull request #62503 from zdover23/wip-doc-2025-03-26-backport-62459-to-reef

reef: src/common: add guidance for deep-scrubbing ratio warning

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61987 from zdover23/wip-doc-2025-02-25-backport-61984-to-reef
Zac Dover [Thu, 27 Mar 2025 12:41:57 +0000 (22:41 +1000)]
Merge pull request #61987 from zdover23/wip-doc-2025-02-25-backport-61984-to-reef

reef: doc/rgw: clarify path-style vs virtual-hosted-style access

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61818 from zdover23/wip-doc-2025-02-14-backport-61688-to-reef
Zac Dover [Thu, 27 Mar 2025 12:40:47 +0000 (22:40 +1000)]
Merge pull request #61818 from zdover23/wip-doc-2025-02-14-backport-61688-to-reef

reef: doc/dev/release-process.rst: release builds cannot build containers

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61654 from zdover23/wip-doc-2025-02-05-backport-61254-to-reef
Zac Dover [Thu, 27 Mar 2025 12:39:58 +0000 (22:39 +1000)]
Merge pull request #61654 from zdover23/wip-doc-2025-02-05-backport-61254-to-reef

reef: doc/rados/operations/stretch-mode: Improve doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61665 from zdover23/wip-doc-2025-02-06-backport-61616-to-reef
Zac Dover [Thu, 27 Mar 2025 12:39:20 +0000 (22:39 +1000)]
Merge pull request #61665 from zdover23/wip-doc-2025-02-06-backport-61616-to-reef

reef: doc/cephadm: clarify "Monitoring OSD State"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sayalee Raut <saraut@redhat.com>
3 months agoMerge pull request #61615 from zdover23/wip-doc-2025-02-02-backport-61613-to-reef
Zac Dover [Thu, 27 Mar 2025 12:35:07 +0000 (22:35 +1000)]
Merge pull request #61615 from zdover23/wip-doc-2025-02-02-backport-61613-to-reef

reef: doc/architecture: remove sentence

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62291 from zdover23/wip-doc-2025-03-14-backport-62258-to-reef
Zac Dover [Thu, 27 Mar 2025 12:33:30 +0000 (22:33 +1000)]
Merge pull request #62291 from zdover23/wip-doc-2025-03-14-backport-62258-to-reef

reef: doc/rados/configuration/bluestore-config-ref: Fix lowercase typos

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62492 from vshankar/wip-rm-rhel_8
Yuri Weinstein [Wed, 26 Mar 2025 21:17:51 +0000 (14:17 -0700)]
Merge pull request #62492 from vshankar/wip-rm-rhel_8

reef: qa/cephfs: switch to ubuntu 22.04 for stock kernel testing

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 months agoMerge pull request #62345 from phlogistonjohn/wip-70153-reef
Adam King [Wed, 26 Mar 2025 19:40:17 +0000 (15:40 -0400)]
Merge pull request #62345 from phlogistonjohn/wip-70153-reef

reef: container: small container image improvements

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
3 months agoreef: qa/cephfs: switch to ubuntu 22.04 for stock kernel testing 62492/head
Venky Shankar [Tue, 25 Mar 2025 13:24:08 +0000 (18:54 +0530)]
reef: qa/cephfs: switch to ubuntu 22.04 for stock kernel testing

This is for reef only since we don't have rhel8 images (which results
in failure to schedule fs suite run), so switch to using ubuntu 22.04.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge pull request #62178 from guits/wip-70368-reef
Guillaume Abrioux [Wed, 26 Mar 2025 15:16:12 +0000 (16:16 +0100)]
Merge pull request #62178 from guits/wip-70368-reef

reef: ceph-volume: allow zapping partitions on multipath devices

3 months agoMerge pull request #62468 from ljflores/wip-reef-62422
Laura Flores [Wed, 26 Mar 2025 14:49:15 +0000 (09:49 -0500)]
Merge pull request #62468 from ljflores/wip-reef-62422

reef: PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

3 months agoMerge pull request #62364 from athanatos/wip-70536-reef
SrinivasaBharathKanta [Tue, 25 Mar 2025 23:19:41 +0000 (04:49 +0530)]
Merge pull request #62364 from athanatos/wip-70536-reef

reef: osd: fix osd mclock queue item leak

3 months agosrc/common: add guidance for deep-scrubbing ratio warning 62503/head
Zac Dover [Mon, 24 Mar 2025 12:26:11 +0000 (22:26 +1000)]
src/common: add guidance for deep-scrubbing ratio warning

Add an explanation of how to set the value of
"mon_warn_pg_not_deep_scrubbed_ratio" to the confval definition of that
variable. Although this variable contains the string "mon", it is set on
the Manager. I have added a note to direct users to set this value on
the Manager.

This issue was pointed out by Petr Tlapa on Slack in late March of 2025.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit aeef59a50ee31072648ba0c7436b6522137614cd)

3 months agoPendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands 62468/head
Laura Flores [Thu, 20 Mar 2025 21:19:30 +0000 (16:19 -0500)]
PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

Added a release note for `ceph osd rm-pg-upmap-primary` and documentation to
complement #62190.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 4dee7917bf010dc6d8e24f0ef437bd8a41c355c9)

*Note: PendingReleaseNotes changed to put the release note under v18.2.5.

4 months agoMerge pull request #62444 from zdover23/wip-doc-2025-03-22-backport-62422-to-reef
Anthony D'Atri [Sat, 22 Mar 2025 14:54:04 +0000 (10:54 -0400)]
Merge pull request #62444 from zdover23/wip-doc-2025-03-22-backport-62422-to-reef

reef: doc/cephadm/services: Add mention of --zap for OSD removal

4 months agodoc/cephadm/services: Add mention of --zap for OSD removal 62444/head
Anthony D'Atri [Fri, 21 Mar 2025 21:59:02 +0000 (17:59 -0400)]
doc/cephadm/services: Add mention of --zap for OSD removal

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 20b621fceb865403e19e1d7876f81e670829ff59)

4 months agoMerge pull request #61653 from aclamk/wip-aclamk-pereman2-bluefs-expand-bug-reef
SrinivasaBharathKanta [Fri, 21 Mar 2025 21:23:25 +0000 (02:53 +0530)]
Merge pull request #61653 from aclamk/wip-aclamk-pereman2-bluefs-expand-bug-reef

[reef] os/bluestore: fix _extend_log seq advance

4 months agoMerge pull request #62428 from zdover23/wip-doc-2025-03-21-backport-62426-to-reef
Anthony D'Atri [Fri, 21 Mar 2025 16:07:05 +0000 (12:07 -0400)]
Merge pull request #62428 from zdover23/wip-doc-2025-03-21-backport-62426-to-reef

reef: doc/cephadm/services: Correct indentation in osd.rst

4 months agoMerge pull request #60901 from mohit84/wip-69086-reef
SrinivasaBharathKanta [Fri, 21 Mar 2025 14:12:15 +0000 (19:42 +0530)]
Merge pull request #60901 from mohit84/wip-69086-reef

reef: TEST_backfill_grow fails after finding "num_bytes mismatch" in osd log

4 months agoMerge pull request #57065 from batrick/wip-65623-reef
SrinivasaBharathKanta [Fri, 21 Mar 2025 14:11:49 +0000 (19:41 +0530)]
Merge pull request #57065 from batrick/wip-65623-reef

reef: mgr: process map before notifying clients

4 months agoMerge pull request #62212 from NitzanMordhai/wip-70379-reef
SrinivasaBharathKanta [Fri, 21 Mar 2025 14:06:59 +0000 (19:36 +0530)]
Merge pull request #62212 from NitzanMordhai/wip-70379-reef

reef: LogMonitor: set no_reply for forward MLog commands

4 months agoMerge pull request #62220 from ifed01/wip-ifed-limit-discard-qlen-reef
NitzanMordhai [Fri, 21 Mar 2025 08:51:13 +0000 (10:51 +0200)]
Merge pull request #62220 from ifed01/wip-ifed-limit-discard-qlen-reef

reef: blk/KernelDevice: Introduce a cap on the number of pending discards

4 months agoLogMonitor: set no_reply for forward MLog commands 62212/head
Nitzan Mordechai [Thu, 20 Feb 2025 07:37:45 +0000 (07:37 +0000)]
LogMonitor: set no_reply for forward MLog commands

On streach mod clusters we can see slow ops when
removing and adding osds with --zap --force when osds
connected to peon monitor and forwarding the MLog to leader.
the no_reply is set only when we are connected to the leader,
this fix will add also the other option - so no_reply set anyway.

Fixes: https://tracker.ceph.com/issues/54489
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 56cb53db96380c917f4192c31cbdd0f0f3ef1fe9)

4 months agoMerge pull request #62210 from NitzanMordhai/wip-70382-reef
NitzanMordhai [Fri, 21 Mar 2025 08:42:06 +0000 (10:42 +0200)]
Merge pull request #62210 from NitzanMordhai/wip-70382-reef

reef: suites/rados: cache tier deprecated, no need to keep the tests for it

4 months agoMerge pull request #62145 from ifed01/wip-ifed-no-compression-plugin-reload-reef
NitzanMordhai [Fri, 21 Mar 2025 08:41:29 +0000 (10:41 +0200)]
Merge pull request #62145 from ifed01/wip-ifed-no-compression-plugin-reload-reef

reef: os/bluestore: do cache locally compressor engines ever used

4 months agodoc/cephadm/services: Correct indentation in osd.rst 62428/head
Anthony D'Atri [Fri, 21 Mar 2025 03:29:57 +0000 (23:29 -0400)]
doc/cephadm/services: Correct indentation in osd.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 7b5f73f4c17acc7cd0aab87db528e5232c8f05e1)

4 months agoos/bluestore: fix _extend_log seq advance 61653/head
Pere Diaz Bou [Fri, 29 Sep 2023 11:17:03 +0000 (13:17 +0200)]
os/bluestore: fix _extend_log seq advance

when extending the log, the sequence was left on a bad state because it would first create a transaction to update with the current seq number but leave the "real" transaction with the same sequence number which should be `extend_log_transaction.seq + 1`.

Signed-off-by: Pere Diaz Bou <pdiabou@redhat.com>
(cherry picked from commit 63f0a0df14c9d8e68be61e374438bc75cef45a1f)

Fixes: https://tracker.ceph.com/issues/69764
4 months agoos/bluestore: test _extend_log sequence advance
Pere Diaz Bou [Fri, 29 Sep 2023 11:16:42 +0000 (13:16 +0200)]
os/bluestore: test _extend_log sequence advance

Signed-off-by: Pere Diaz Bou <pdiabou@redhat.com>
(cherry picked from commit 8c68a503f1d87d4efedab53dd68d7c79529d27aa)

4 months agoMerge pull request #62405 from zdover23/wip-doc-2025-03-20-backport-62394-to-reef
Zac Dover [Thu, 20 Mar 2025 12:07:53 +0000 (22:07 +1000)]
Merge pull request #62405 from zdover23/wip-doc-2025-03-20-backport-62394-to-reef

reef: doc/radosgw /notifications: fix topic details

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/radosgw /notifications: fix topic details 62405/head
Laimis Juzeliūnas [Wed, 19 Mar 2025 12:33:04 +0000 (14:33 +0200)]
doc/radosgw /notifications: fix topic details

This commit fixes documentation about many-to-many topic relationship for notifications. The current sentence states the same fact twice instead of clarifying.

Fixes: https://tracker.ceph.com/issues/64956
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit 058b95abe62893c5c13f02cdf7dd438b0a95a128)

4 months agoMerge pull request #62339 from phlogistonjohn/wip-70506-reef
Adam King [Wed, 19 Mar 2025 18:05:41 +0000 (14:05 -0400)]
Merge pull request #62339 from phlogistonjohn/wip-70506-reef

reef: build-with-container: two small fixes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
4 months agoMerge pull request #62380 from zdover23/wip-doc-2025-03-19-backport-62367-to-reef
Anthony D'Atri [Wed, 19 Mar 2025 14:11:33 +0000 (10:11 -0400)]
Merge pull request #62380 from zdover23/wip-doc-2025-03-19-backport-62367-to-reef

reef: doc/cephadm: Add PG autoscaler advice to upgrade.rst

4 months agoMerge pull request #62354 from aaSharma14/wip-70523-reef
Aashish Sharma [Wed, 19 Mar 2025 07:17:41 +0000 (12:47 +0530)]
Merge pull request #62354 from aaSharma14/wip-70523-reef

reef: mgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN(Not only IP)

Reviewed-by: Naman Munet <naman.munet@ibm.com>
4 months agodoc/cephadm: Add PG autoscaler advice to upgrade.rst 62380/head
Anthony D'Atri [Tue, 18 Mar 2025 19:35:34 +0000 (15:35 -0400)]
doc/cephadm: Add PG autoscaler advice to upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit ee69f52193996d528410a71c2c67fc27b47dee31)

4 months agoMerge pull request #62376 from zdover23/wip-doc-2025-03-19-backport-62371-to-reef
Zac Dover [Wed, 19 Mar 2025 05:30:50 +0000 (15:30 +1000)]
Merge pull request #62376 from zdover23/wip-doc-2025-03-19-backport-62371-to-reef

reef: doc/dev/developer_guide/essentials: update mailing lists

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/dev/developer_guide/essentials: update mailing lists 62376/head
Laimis Juzeliūnas [Tue, 18 Mar 2025 22:24:50 +0000 (00:24 +0200)]
doc/dev/developer_guide/essentials: update mailing lists

Update information for subscribing to Ceph development mailing lists as current documentation is outdated.

Fixes: https://tracker.ceph.com/issues/64580
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit e7bf607269335ac40d91cb4b8f265064ffaac402)

4 months agoMerge pull request #62191 from ljflores/wip-reef-backport-69760
Laura Flores [Wed, 19 Mar 2025 03:13:30 +0000 (22:13 -0500)]
Merge pull request #62191 from ljflores/wip-reef-backport-69760

4 months agoMerge pull request #62369 from phlogistonjohn/jjm-reef-more-type-ignore
Laura Flores [Wed, 19 Mar 2025 02:32:07 +0000 (21:32 -0500)]
Merge pull request #62369 from phlogistonjohn/jjm-reef-more-type-ignore

4 months agoreef: mgr/diskprediction_local: avoid more mypy errors 62369/head
John Mulligan [Tue, 18 Mar 2025 19:56:25 +0000 (15:56 -0400)]
reef: mgr/diskprediction_local: avoid more mypy errors

Similar to c4111033172db28c4737e8438f27901811919ce4 this patch
suppresses mypy errors in the diskprediction_local mgr module.
I probably put the magic comment on more lines than needed but
mypy does not have a block-comment method to suppress checking
for just a region of code today.
This patch is not a backport as the issue is only impacting
reef CI jobs and so it is applied directly to the reef branch.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
4 months agodmclock/.../dmclock_server: do not clean clients with requests 62364/head
Samuel Just [Thu, 13 Feb 2025 04:16:47 +0000 (04:16 +0000)]
dmclock/.../dmclock_server: do not clean clients with requests

PriorityQueueBase::do_clean() shouldn't remove ClientRec instances which
still have queued requests.  Otherwise, very low priority clients might
end up having requests actually lost, which shouldn't be possible.

In the OSD, this resulted in PGRecovery items being lost if queued with
background_best_effort while expanding a cluster.  Such items can
legitimately sit in the queue for a long period of time as they
represent background data migration which is allowed to be starved by an
aggressive client workload.  Dropping the items broke an assumption in
the OSD that all items enqueued would eventually be dequeued resulting
in resources being leaked.

Fixes: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 35cf0f6c1355ff420c431340ac36d9a3c029d6c2)

4 months agotest/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class
Samuel Just [Thu, 13 Feb 2025 04:06:49 +0000 (04:06 +0000)]
test/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class

Otherwise, scheduler will yield a delay eventually.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0938a592e922c284cb939561dd1bd1589e154ae3)

4 months agotest/osd/TestMClockScheduler: create_item should pass prio < cutoff
Samuel Just [Thu, 13 Feb 2025 03:54:28 +0000 (03:54 +0000)]
test/osd/TestMClockScheduler: create_item should pass prio < cutoff

Cutoff is set to 12, so let's pass something < 12 rather than 12.
Comments in some tests suggest that the intent is for create_item
to create things in the mclock queue rather than the high_queue.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5562ecbcdb1b0ae43145cb7ea9c7a3c76e6449f4)

4 months agotest/osd/TestMClockScheduler: add test for very slow dequeue
Samuel Just [Thu, 13 Feb 2025 02:55:27 +0000 (02:55 +0000)]
test/osd/TestMClockScheduler: add test for very slow dequeue

Related: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b35589f7eb39e6bfabe7df1c55281f41925eca61)

4 months agoosd/scheduler/mClockScheduler: add constructor to specify idle/erase/check times
Samuel Just [Thu, 13 Feb 2025 03:45:42 +0000 (19:45 -0800)]
osd/scheduler/mClockScheduler: add constructor to specify idle/erase/check times

Useful for unit test, default times are *really* long.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 8b7b0463792d85575996e65752087a25c9a3a65a)

4 months agoosd/scheduler/mClockScheduler: move constructor to header
Samuel Just [Thu, 13 Feb 2025 03:48:18 +0000 (19:48 -0800)]
osd/scheduler/mClockScheduler: move constructor to header

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 35b6176d90e1c48ba899b9ed0fd807ad8b290e0d)

4 months agosrc/dmclock: remove superfluous license files
Samuel Just [Sat, 15 Feb 2025 01:23:12 +0000 (01:23 +0000)]
src/dmclock: remove superfluous license files

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c95539ec3704c2372b4152bc8af5223a2fe7c55d)

4 months agosrc/dmclock: copy dmclock submodule into ceph.git
Samuel Just [Thu, 13 Feb 2025 04:15:25 +0000 (20:15 -0800)]
src/dmclock: copy dmclock submodule into ceph.git

Copies dmclock.git at e4ccdcfa828 into ceph.git.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c625008dae9fb067e5f567031d5c8c355f2672c2)

4 months agoscript: ensure curl is always available in build containers 62339/head
John Mulligan [Thu, 13 Mar 2025 11:59:42 +0000 (07:59 -0400)]
script: ensure curl is always available in build containers

Ensure that curl is installed in all build containers regardless of
ceph's dependencies or other factors. This allows us to use curl in
any subsequent build steps/scripts.

Fixes: https://tracker.ceph.com/issues/70451
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b4e11f75bfa76036b9109485aa1cb4f9d633c8a2)

4 months agomgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN... 62354/head
Aashish Sharma [Tue, 26 Nov 2024 09:56:38 +0000 (15:26 +0530)]
mgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN(Not only IP)

When configuring the RGW Multisite endpoints from the UI allow FQDN, at the moment when using a FQDN it's not allowed

Fixes: https://tracker.ceph.com/issues/69055
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 9f3619af9ae911955916195084d225928d4b2f43)

Conflicts:
src/pybind/mgr/dashboard/frontend/package-lock.json (conflicts
with typescript package version, kept the existing one)
src/pybind/mgr/dashboard/frontend/package.json (conflicts with
typescript package version, kept the existing one)
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts (conflicts with automated system user creation in main)
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts (conflicts with oauthAddressTest validator)

4 months agomon, osd: add command to remove invalid pg-upmap-primary entries 62191/head
Laura Flores [Fri, 7 Mar 2025 06:22:00 +0000 (06:22 +0000)]
mon, osd: add command to remove invalid pg-upmap-primary entries

The current rm-pg-upmap-primary command checks that the pgid exists
in the pgmap before continuing to remove it. Due to https://tracker.ceph.com/issues/66867,
some invalid pg-upmap-primary entires may exist for pools that have been removed.
Currently, these mappings are impossible to remove since the pgids no longer
exist in the pgmap.

This new command, rm-pg-upmap-primary-all, allows users the ability to remove
any and all pg-upmap-primary mappings in the osdmap at once, which includes
valid and invalid entries.

This command may also be helpful when upgrading from versions where users
are plagued by https://tracker.ceph.com/issues/61948. Users may use an upgraded
mon to remove all pg-upmap-primray entries (valid and invalid) so they continue
to upgrade to a safe version.

See manual testing for this patch here: https://tracker.ceph.com/issues/67179#note-12

Fixes: https://tracker.ceph.com/issues/67179
Fixes: https://tracker.ceph.com/issues/69760
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 6e9e2033bf0f4779bdfac9a3a4f29115459c8c0e)

Conflicts:
src/osd/OSDMap.cc
src/osd/OSDMap.h
The `rm_all_upmap_prims` per pool function is part of
https://github.com/ceph/ceph/commit/2953db8b58535605882dff2e1d4ff36e6075e122, which
is related to the "size optimized" read balancer feature that
is only included >= Squid.

4 months agocontainer: stop deleting python generated files 62345/head
John Mulligan [Sat, 8 Feb 2025 20:03:32 +0000 (15:03 -0500)]
container: stop deleting python generated files

Stop deleting the python generated files (pyc, pyo) that RPM packages
have installed. At some point in the misty past someone thought it would
be a good idea to remove these. This practice got carried over to the
new in-tree Containerfile. IMO this is probably due to a thought to save
space, but if that's the case then the RPMs should not be carrying them
either. Plus, not having them is going to slow python down as it needs
to compile every py file that gets loaded. Let's be consistent: if the
RPMs have pyc and pyo files then they should be in the image - if
they're bad or too big they should not be in the RPMs either, right?

This has the pleasant side effect of making `rpm -Va` inside the image
happier.

Fixes: https://tracker.ceph.com/issues/69869
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 0f178e61de52c6a0b757f8f6937340c002e66c73)

4 months agocontainer: avoid installing docs using the dnf configuration
John Mulligan [Sat, 8 Feb 2025 19:51:23 +0000 (14:51 -0500)]
container: avoid installing docs using the dnf configuration

Avoid installing docs by using the dnf configuration tsflags parameter,
passing the nodocs flag. This tells dnf and rpm not to install
documentation, such as manpages. Stop installing the docs just to delete
them later with an `rm -rf` type command.  Now the docs don't get
installed in the first place, saving space, but the rpm is happy
(`rpm -Va` no longer shows docs as 'missing').

Fixes: https://tracker.ceph.com/issues/69868
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit bf9b8d36aba3c7a8c7a3ecfc4d00359985e745b6)

4 months agoscript/build-with-container: fix incorrect build invocation for tests
John Mulligan [Thu, 13 Mar 2025 11:48:28 +0000 (07:48 -0400)]
script/build-with-container: fix incorrect build invocation for tests

The `tests` build target was set to build the "normal" target but it
needs to build the tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 6b635d3ec080c9514442e2617d1ab868050a39d9)

4 months agoMerge pull request #62087 from aaSharma14/wip-70252-reef
Aashish Sharma [Mon, 17 Mar 2025 05:52:29 +0000 (11:22 +0530)]
Merge pull request #62087 from aaSharma14/wip-70252-reef

reef: mgr: fix subuser creation via dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 months agoMerge pull request #62321 from zdover23/wip-doc-2025-03-15-backport-62319-to-reef
Zac Dover [Sat, 15 Mar 2025 03:23:53 +0000 (13:23 +1000)]
Merge pull request #62321 from zdover23/wip-doc-2025-03-15-backport-62319-to-reef

reef: doc/rados/troubleshooting: Improve troubleshooting-pg.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/rados/troubleshooting: Improve troubleshooting-pg.rst 62321/head
Anthony D'Atri [Sat, 15 Mar 2025 02:44:18 +0000 (22:44 -0400)]
doc/rados/troubleshooting: Improve troubleshooting-pg.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 56a21cbc03e352867608c4cf0623d5566fb60cc8)

4 months agoMerge pull request #62318 from zdover23/wip-doc-2025-03-15-backport-62316-to-reef
Anthony D'Atri [Sat, 15 Mar 2025 02:47:09 +0000 (22:47 -0400)]
Merge pull request #62318 from zdover23/wip-doc-2025-03-15-backport-62316-to-reef

reef: doc/rados/operations: improve crush-map-edits.rst

4 months agodoc/rados/operations: improve crush-map-edits.rst 62318/head
Anthony D'Atri [Sat, 15 Mar 2025 01:59:57 +0000 (21:59 -0400)]
doc/rados/operations: improve crush-map-edits.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 59a894713a9e3540ed74c763cf856636bf300099)

4 months agoMerge pull request #62218 from idryomov/wip-66419-reef
Yuri Weinstein [Fri, 14 Mar 2025 20:23:42 +0000 (13:23 -0700)]
Merge pull request #62218 from idryomov/wip-66419-reef

reef: qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 months agoMerge pull request #60615 from YiteGu/wip-68792-reef
Laura Flores [Fri, 14 Mar 2025 20:20:25 +0000 (15:20 -0500)]
Merge pull request #60615 from YiteGu/wip-68792-reef

reef: blk/KernelDevice: using join() to wait thread end is more safe

4 months agoMerge pull request #62298 from zdover23/wip-doc-2025-03-14-backport-62119-to-reef
Anthony D'Atri [Fri, 14 Mar 2025 12:18:45 +0000 (08:18 -0400)]
Merge pull request #62298 from zdover23/wip-doc-2025-03-14-backport-62119-to-reef

reef: doc: fixup #58689 - document SSE-C iam condition key

4 months agodoc: fixup #58689 - document SSE-C iam condition key 62298/head
dawg [Wed, 5 Mar 2025 09:12:57 +0000 (10:12 +0100)]
doc: fixup #58689 - document SSE-C iam condition key

Signed-off-by: dawg <code@dawg.eu>
(cherry picked from commit 7b4ac886621b71abb9356bce6c44b3c36b2c0ee2)

4 months agodoc/rados/configuration/bluestore-config-ref: Fix lowercase typos 62291/head
Dan van der Ster [Wed, 12 Mar 2025 17:25:42 +0000 (10:25 -0700)]
doc/rados/configuration/bluestore-config-ref: Fix lowercase typos

Commit 3879e4ad417d lowercased several commands. This fixes the
remaining typos.

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
(cherry picked from commit 5e40ec969cdca758263c9f59ca6613a280b6f2a2)

4 months agoMerge pull request #62266 from zdover23/wip-doc-2025-03-13-backport-62249-to-reef
Anthony D'Atri [Thu, 13 Mar 2025 12:08:13 +0000 (08:08 -0400)]
Merge pull request #62266 from zdover23/wip-doc-2025-03-13-backport-62249-to-reef

reef: doc/monitoring: Improve index.rst

4 months agoMerge pull request #59697 from rhcs-dashboard/wip-67928-reef
afreen23 [Thu, 13 Mar 2025 10:39:23 +0000 (16:09 +0530)]
Merge pull request #59697 from rhcs-dashboard/wip-67928-reef

reef: qa/mgr/dashboard: fix test race condition

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agomgr: fix subuser creation via dashboard 62087/head
Hannes Baum [Wed, 6 Nov 2024 08:46:09 +0000 (09:46 +0100)]
mgr: fix subuser creation via dashboard

Subusers couldn't be created through the dashboard, because the get call was overwritten with Python magic due to it being the function under the HTTP call.
The get function was therefore split into an "external" and "internal" function, whereas one
can be used by functions without triggering the magic. Since the user object was then returned correctly, json.loads could be removed.

Signed-off-by: Hannes Baum <hannes.baum@cloudandheat.com>
(cherry picked from commit 90e221d0b53ad137e912b8cbd84935a8755f1fe7)

4 months agoqa/tests: retry the api call after making the request 59697/head
Nizamudeen A [Mon, 10 Feb 2025 18:18:56 +0000 (23:48 +0530)]
qa/tests: retry the api call after making the request

based on the pointer from Bill in https://tracker.ceph.com/issues/62972#note-75

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1588712b558f229d54fdfab744f2480f15333067)

4 months agoqa/dashboard: fix test_list_enabled_module failure
Nizamudeen A [Wed, 30 Oct 2024 14:01:10 +0000 (19:31 +0530)]
qa/dashboard: fix test_list_enabled_module failure

Check the ports availability and go for a new port if the current one is
not available

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a2a4a3415c0e5ceef2cb01d3bcdf5eb1fff23803)

4 months agoqa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest
Nizamudeen A [Mon, 28 Oct 2024 05:45:25 +0000 (11:15 +0530)]
qa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest

as per: https://tracker.ceph.com/issues/47612#note-14

Fixes: https://tracker.ceph.com/issues/47612
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 79d61bbb58cb34f9da678e37b4373fc84bd393f5)

4 months agoqa/tests: fix test_list_enabled_modules timeout error
Nizamudeen A [Fri, 30 Aug 2024 11:46:57 +0000 (17:16 +0530)]
qa/tests: fix test_list_enabled_modules timeout error

This test deals with enabling/disabling the modules. The assumption I
have is after enabling the
module test will wait for an active mgr but its not able to find it in
time and it fails. so taking inspiration from https://github.com/ceph/ceph/pull/58995/commits/6c7253be6f6fbfa6faed7a539cb78847fec04580 adding retries and logs to see if that's the case

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b2da7394ee02abd6525372d94cab090818cd6c8e)

4 months agoqa/mgr/dashboard: fix test race condition
Ernesto Puerta [Thu, 1 Aug 2024 23:39:40 +0000 (01:39 +0200)]
qa/mgr/dashboard: fix test race condition

Fixes: https://tracker.ceph.com/issues/66844
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 6c7253be6f6fbfa6faed7a539cb78847fec04580)

4 months agoMerge pull request #62256 from rhcs-dashboard/wip-70424-reef
Nizamudeen A [Thu, 13 Mar 2025 05:50:30 +0000 (11:20 +0530)]
Merge pull request #62256 from rhcs-dashboard/wip-70424-reef

reef: mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure

4 months agodoc/monitoring: Improve index.rst 62266/head
Anthony D'Atri [Wed, 12 Mar 2025 13:31:19 +0000 (09:31 -0400)]
doc/monitoring: Improve index.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 1bc67295c8b75475455ff702998ae4d7fb2ec749)

4 months agomgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure 62256/head
Nizamudeen A [Wed, 12 Mar 2025 07:06:42 +0000 (12:36 +0530)]
mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure

xmlsec had an upgrade yesterday night and python3-saml might need to
adapt its library accordingly I suppose. Testing a fix by pinning lxml

Another approach is being tried out separately
https://github.com/ceph/ceph/pull/62239, but that is failing with some
other errors.

Fixes: https://tracker.ceph.com/issues/70411
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1f84505f1232dd8445df1a2a819fa000062d3934)

 Conflicts:
src/pybind/mgr/dashboard/requirements.txt
 - only kept the lxml pinning. didn't add the newer deps that are
   present in main

4 months agoMerge pull request #57590 from NitzanMordhai/wip-66141-reef
Yuri Weinstein [Wed, 12 Mar 2025 14:33:48 +0000 (07:33 -0700)]
Merge pull request #57590 from NitzanMordhai/wip-66141-reef

reef: common/pick_address: check if address in subnet all public address

Reviewed-by: Laura Flores <lflores@redhat.com>
4 months agoMerge pull request #62124 from ifed01/wip-ifed-fragmentation-command-reef
Igor Fedotov [Wed, 12 Mar 2025 09:19:06 +0000 (12:19 +0300)]
Merge pull request #62124 from ifed01/wip-ifed-fragmentation-command-reef

reef: tool/ceph-bluestore-tool: fix wrong keyword for 'free-fragmentation' …

Reviewed-by: akupczyk@ibm.com
4 months agoMerge pull request #62209 from aaSharma14/wip-67936-reef
Aashish Sharma [Wed, 12 Mar 2025 07:12:05 +0000 (12:42 +0530)]
Merge pull request #62209 from aaSharma14/wip-67936-reef

reef: mgr/dashboard: Fix variable capitalization in embedded rbd-details panel

Reviewed-by: Naman Munet <naman.munet@ibm.com>
4 months agoMerge pull request #61892 from k0ste/wip-70068-reef
Adam Kupczyk [Tue, 11 Mar 2025 18:33:12 +0000 (19:33 +0100)]
Merge pull request #61892 from k0ste/wip-70068-reef

reef: os/bluestore: fix the problem that _estimate_log_size_N calculates the log size incorrectly

4 months agoblk/KernelDevice: Introduce a cap on the number of pending discards 62220/head
Joshua Baergen [Wed, 18 Dec 2024 17:27:58 +0000 (10:27 -0700)]
blk/KernelDevice: Introduce a cap on the number of pending discards

Some disks have a discard performance that is too low to keep up with
write workloads. Using async discard in this case will cause the OSD to
run out of capacity due to the number of outstanding discards preventing
allocations from being freed. While sync discard could be used in this
case to cause backpressure, this might have unacceptable performance
implications.

For the most part, as long as enough discards are getting through to a
device, then it will stay trimmed enough to maintain acceptable
performance. Thus, we can introduce a cap on the pending discard count,
ensuring that the queue of allocations to be freed doesn't get too long
while also issuing sufficient discards to disk. The default value of
1000000 has ample room for discard spikes (e.g. from snaptrim); it could
result in multiple minutes of discards being queued up, but at least
it's not unbounded (though if a user really wants unbounded behaviour,
they can choose it by setting the new configuration option to 0).

Fixes: https://tracker.ceph.com/issues/69604
Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
(cherry picked from commit 1dee8837959075687ea8a81c4eec2e1c6625e486)

4 months agoqa/workunits/rbd: wait for resize to be applied in rbd-nbd 62218/head
Ilya Dryomov [Sun, 9 Mar 2025 21:10:08 +0000 (22:10 +0100)]
qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Implement the same logic as in commit 6f3d0f570f1a ("test/librbd/fsx:
wait for resize to propagate in krbd_resize()").

Fixes: https://tracker.ceph.com/issues/66419
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit bedc75fff2876d2edd4e5af2e008467fa480b4c6)

4 months agosuites/rados: cache tier deprecated, no need to keep the tests for it 62210/head
Nitzan Mordechai [Thu, 20 Feb 2025 07:59:39 +0000 (07:59 +0000)]
suites/rados: cache tier deprecated, no need to keep the tests for it

Fixes: https://tracker.ceph.com/issues/68628
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit e5127b914cbabbd8b46a803c099ccd575d6df6c0)

4 months agomgr/dashboard: Fix variable capitalization in embedded rbd-details panel 62209/head
Juan Ferrer Toribio [Tue, 3 Sep 2024 09:02:42 +0000 (11:02 +0200)]
mgr/dashboard: Fix variable capitalization in embedded rbd-details panel

Fix capitalization of image and pool variables in embedded grafana rbd-details panel

Fixes: https://tracker.ceph.com/issues/67849
Signed-off-by: Juan Ferrer Toribio <22457707+juan-ferrer-toribio@users.noreply.github.com>
(cherry picked from commit dfca044b6466d599fc4eb50f31bc40949e91e70e)

4 months agoMerge pull request #62162 from phlogistonjohn/wip-70345-reef
Adam King [Mon, 10 Mar 2025 20:02:05 +0000 (16:02 -0400)]
Merge pull request #62162 from phlogistonjohn/wip-70345-reef

reef: build-with-container: fixes and enhancements

Reviewed-by: Adam King <adking@redhat.com>
4 months agoMerge pull request #62175 from idryomov/wip-64063-reef
Yuri Weinstein [Mon, 10 Mar 2025 15:04:56 +0000 (11:04 -0400)]
Merge pull request #62175 from idryomov/wip-64063-reef

reef: rbd-nbd: use netlink interface by default

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 months agoMerge pull request #61379 from vshankar/wip-reef-client-secfix
Venky Shankar [Mon, 10 Mar 2025 12:17:17 +0000 (17:47 +0530)]
Merge pull request #61379 from vshankar/wip-reef-client-secfix

reef: client: disallow unprivileged users to escalate root privileges

Reviewed-by: Milind Changire <mchangir@redhat.com>
4 months agoMerge pull request #62193 from zdover23/wip-doc-2025-03-10-backport-62176-to-reef
Anthony D'Atri [Mon, 10 Mar 2025 04:41:43 +0000 (00:41 -0400)]
Merge pull request #62193 from zdover23/wip-doc-2025-03-10-backport-62176-to-reef

reef: doc/releases: Add ordering comment to releases.yml

4 months agodoc/releases: Add ordering comment to releases.yml 62193/head
Anthony D'Atri [Sat, 8 Mar 2025 15:58:37 +0000 (10:58 -0500)]
doc/releases: Add ordering comment to releases.yml

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 2290a904bd6a3194f77b76d7deb0c9d24c8b4b93)

4 months agoceph-volume: allow zapping partitions on multipath devices 62178/head
Guillaume Abrioux [Fri, 7 Mar 2025 16:23:02 +0000 (17:23 +0100)]
ceph-volume: allow zapping partitions on multipath devices

ceph-volume refuses to zap a device if it is a partition on a multipath
device due to an overly strict condition. This change ensures that only
full mapper devices (excluding partitions) are blocked from being zapped,
allowing partitions on multipath devices to be processed correctly.

Fixes: https://tracker.ceph.com/issues/70363
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 16daa6a687c0536324b06536af12ce4e8fc04087)

4 months agoMerge pull request #62065 from dmick/wip-70241-reef
Dan Mick [Sat, 8 Mar 2025 00:17:31 +0000 (16:17 -0800)]
Merge pull request #62065 from dmick/wip-70241-reef

reef: container/build.sh: remove local container images

4 months agoMerge pull request #62129 from idryomov/wip-65720-reef
Yuri Weinstein [Fri, 7 Mar 2025 20:24:43 +0000 (15:24 -0500)]
Merge pull request #62129 from idryomov/wip-65720-reef

reef: librbd: add rbd_diff_iterate3() API to take source snapshot by ID

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
4 months agoMerge pull request #62127 from idryomov/wip-70190-reef
Yuri Weinstein [Fri, 7 Mar 2025 20:23:19 +0000 (15:23 -0500)]
Merge pull request #62127 from idryomov/wip-70190-reef

reef: librbd: fix a deadlock on image_lock caused by Mirror::image_disable()

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
4 months agoRevert "test/librbd/fsx: switch to netlink interface for rbd-nbd" 62175/head
Ilya Dryomov [Fri, 7 Mar 2025 20:07:49 +0000 (21:07 +0100)]
Revert "test/librbd/fsx: switch to netlink interface for rbd-nbd"

This reverts commit 1a128a8d8c5cc4313fa301db5381af9963940383.

With commit fcbf7367d285 ("rbd-nbd: map using netlink interface by
default") backported to reef, this reef-only fixup limited to fsx is no
longer needed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 months agorbd-nbd: map using netlink interface by default
Ramana Raja [Wed, 17 Jan 2024 18:24:36 +0000 (13:24 -0500)]
rbd-nbd: map using netlink interface by default

Mapping rbd images to nbd devices using ioctl interface is not
robust. It was discovered that the device size or the md5 checksum
of the nbd device was incorrect immediately after mapping using
ioctl method. When using the nbd netlink interface to map RBD images
the issue was not encountered. Switch to using nbd netlink interface
for mapping.

Fixes: https://tracker.ceph.com/issues/64063
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit fcbf7367d285629b382e3d9d32ac354319d1cc66)

Conflicts:
PendingReleaseNotes [ moved to >=18.2.5 section ]

4 months agoMerge pull request #62037 from ceph/template-reef
David Galloway [Fri, 7 Mar 2025 19:42:36 +0000 (14:42 -0500)]
Merge pull request #62037 from ceph/template-reef

Links to Jenkins jobs in PR comment commands / Remove deprecated commands

4 months agotest/pybind/rbd: fix read offset in write zeroes tests 62129/head
Ilya Dryomov [Mon, 3 Mar 2025 16:59:35 +0000 (17:59 +0100)]
test/pybind/rbd: fix read offset in write zeroes tests

Random data is written and write zeroes is invoked on 0~256, but the
read is done on 256~256.  This means that if write zeroes malfunctions
the test wouldn't catch it (especially in the thick provision case).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d41f0fa01f59a8d056dc28934b92212c78a05a62)

4 months agolibrbd: add rbd_diff_iterate3() API to take source snapshot by ID
VinayBhaskar-V [Tue, 26 Nov 2024 11:18:51 +0000 (16:48 +0530)]
librbd: add rbd_diff_iterate3() API to take source snapshot by ID

Allow a diff to start from a non-user snapshot.  This would be used by
"rbd du" command to account for non-user snapshots which are currently
just skipped potentially resulting in underreported space usage and in
other places.

Fixes: https://tracker.ceph.com/issues/65720
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Vinay Bhaskar Varada <vvarada@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 54f47cc28ffd2d29b4f8cfaf56a5a5be2909bde7)

Conflicts:
src/include/rbd/librbd.h [ commit e5ccce14c4b0 ("rbd: add group
  snap info command") not in reef ]
src/test/pybind/test_rbd.py [ commit d7fd66ec9944 ("librbd: add
  rbd_clone4() API to take parent snapshot by ID") not in reef ]