]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd: display correct mirror state when creating
authorN Balachandran <nithya.balachandran@ibm.com>
Mon, 21 Apr 2025 11:34:08 +0000 (17:04 +0530)
committerN Balachandran <nithya.balachandran@ibm.com>
Thu, 24 Apr 2025 04:15:52 +0000 (09:45 +0530)
commit596aef3a5eb3c1f31e553278dfab3a4f1ff44eb7
tree1228c26c785872ac0d70aeef075e3d2bfc4f3033
parent9a4a00b1abc3d68b0d78939b16ac79346210ea9b
rbd: display correct mirror state when creating

The mirror image state is set to MIRROR_IMAGE_STATE_CREATING
when the image is first created on the secondary, but was displayed
as "unknown" by the rbd info command. This has been fixed.

Fixes: https://tracker.ceph.com/issues/70963
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit f2e35646721ed3076e3da54124f8d783c456b2dc)
src/include/rbd/librbd.h
src/pybind/rbd/c_rbd.pxd
src/pybind/rbd/mock_rbd.pxi
src/pybind/rbd/rbd.pyx
src/tools/rbd/Utils.cc