]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: display correct mirror state when creating 62898/head
authorN Balachandran <nithya.balachandran@ibm.com>
Mon, 21 Apr 2025 11:34:08 +0000 (17:04 +0530)
committerN Balachandran <nithya.balachandran@ibm.com>
Wed, 23 Apr 2025 15:15:25 +0000 (20:45 +0530)
commitf2e35646721ed3076e3da54124f8d783c456b2dc
tree709e084f5f14f371c6b93716cfce46c05e2ab556
parent09391944c4998f7b2041e4adcfe61484ac7556e2
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>
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