I have a bionic-train ceph-rbd-mirror deployment up (the smoke test from charm-ceph-rbd-mirror). I need to pick this up tomorrow but the next step is to create a volume from an image and hopefully I can add a sleep to the cinder code to recreate the reported bug. Listing some relevant commands below that I think will be useful, in case someone else picks this up or someone has better commands. Note: I'm listing the glance pool below because it has a snapshot.
I have a bionic-train ceph-rbd-mirror deployment up (the smoke test from charm-ceph- rbd-mirror) . I need to pick this up tomorrow but the next step is to create a volume from an image and hopefully I can add a sleep to the cinder code to recreate the reported bug. Listing some relevant commands below that I think will be useful, in case someone else picks this up or someone has better commands. Note: I'm listing the glance pool below because it has a snapshot.
ceph-mon/0
----------
$ sudo ceph osd lspools
1 glance
2 cinder-ceph
ceph-rbd-mirror/0 rbd-mirror. juju-2e2313- zaza-940825664f 98-12.keyring ceph.conf rbdmap remote. client. rbd-mirror. juju-2e2313- zaza-940825664f 98-12.keyring remote.conf juju-2e2313- zaza-940825664f 98-12 pool stats glance juju-2e2313- zaza-940825664f 98-12 pool stats cinder-ceph juju-2e2313- zaza-940825664f 98-12 mirror pool status glance juju-2e2313- zaza-940825664f 98-12 mirror pool status cinder-ceph juju-2e2313- zaza-940825664f 98-12 ls -l glance 09a7-4ecc- 869e-5a99ef0ef9 7e 342 MiB 2 09a7-4ecc- 869e-5a99ef0ef9 7e@snap 342 MiB 2 yes juju-2e2313- zaza-940825664f 98-12 ls -l cinder-ceph b0ea5477- d218-409e- b608-dc992a659c 0a 8 GiB 2 juju-2e2313- zaza-940825664f 98-12 snap ls glance/ db355184- 09a7-4ecc- 869e-5a99ef0ef9 7e
-----------------
$ ls /etc/ceph
ceph.client.
$ sudo rbd --id rbd-mirror.
Total Images: 1
Total Snapshots: 1
Provisioned Size: 342 MiB
$ sudo rbd --id rbd-mirror.
Total Images: 1
Total Snapshots: 0
Provisioned Size: 8 GiB
$ sudo rbd --id rbd-mirror.
health: OK
images: 1 total
1 stopped
$ sudo rbd --id rbd-mirror.
health: OK
images: 1 total
1 stopped
$ sudo rbd --id rbd-mirror.
NAME SIZE PARENT FMT PROT LOCK
db355184-
db355184-
$ sudo rbd --id rbd-mirror.
NAME SIZE PARENT FMT PROT LOCK
volume-
$ sudo rbd --id rbd-mirror.
SNAPID NAME SIZE PROTECTED TIMESTAMP
24 snap 342 MiB yes Wed Oct 21 20:29:56 2020