Bug #54259
Updated by Deepika Upadhyay about 2 years ago
<pre> rbd image 'test-demote-sb': size 1 GiB in 256 objects order 22 (4 MiB objects) snapshot_count: 0 id: 691f95312d38 block_name_prefix: rbd_data.691f95312d38 format: 2 features: layering, exclusive-lock, object-map, fast-diff, non-primary op_features: flags: create_timestamp: Fri Feb 11 13:33:19 2022 access_timestamp: Fri Feb 11 13:33:19 2022 modify_timestamp: Fri Feb 11 13:33:19 2022 mirroring state: unknown mirroring mode: snapshot mirroring global id: 3c20e812-aeb2-40b3-ad3b-8dd421d370b5 mirroring primary: false vanilla ceph: rbd image 'a1': rbd image 'a1': size 1 GiB in 256 objects order 22 (4 MiB objects) snapshot_count: 1 id: 10ecdc486a57 block_name_prefix: rbd_data.10ecdc486a57 format: 2 features: layering, exclusive-lock, object-map, fast-diff, non-primary op_features: flags: create_timestamp: Fri Feb 11 14:29:16 2022 access_timestamp: Fri Feb 11 14:29:16 2022 modify_timestamp: Fri Feb 11 14:29:16 2022 2022-02-11T14:50:31.531+0000 7fed807a1400 20 librbd::api::Image: get_parent: image_ctx=0x55ec5fb4e650 mirroring state: enabled mirroring mode: snapshot mirroring global id: c91fc91e-786f-49a2-a16e-69e664c5bf57 mirroring primary: false </pre> restarting doesn't help, mirroring state remains unknown. Same test with same branch works fine on vanilla ceph unknown