I set up RBD mirroring in two models ('site-a' and 'site-b') and then deployed OpenStack to one of them ('site-a'). After importing an image to Glance `juju status` output informs me that the ceph-rbd-mirror unit in both models enters the 'blocked' state and issues a warning:
site-a-ceph-rbd-mirror/0* blocked idle 3 10.5.0.36 Unit is ready (Pools WARNING (1) Images unknown (1))
site-b-ceph-rbd-mirror/0* blocked idle 3 10.5.0.21 Unit is ready (Pools WARNING (1) Images unknown (1))
This is what I see for the 'glance' pool in both models:
$ juju ssh -m site-a site-a-ceph-mon/0 sudo rbd mirror pool status glance --verbose
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS
service 4813:
instance_id: 6267
client_id: juju-ae4ac4-site-a-3
hostname: juju-ae4ac4-site-a-3
version: 15.2.8
leader: true
health: OK
IMAGES
29843766-46af-458c-a377-9fb415794e34:
global_id: 3ce8603c-af5c-4bcd-91b8-1be0e827c294
state: up+stopped
description: local image is primary
service: juju-ae4ac4-site-a-3 on juju-ae4ac4-site-a-3
last_update: 2021-03-19 19:17:30
---------------------
$ juju ssh -m site-b site-b-ceph-mon/0 sudo rbd mirror pool status glance --verbose
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS
service 4878:
instance_id: 5446
client_id: juju-1930d6-site-b-3
hostname: juju-1930d6-site-b-3
version: 15.2.8
leader: true
health: OK
I set up RBD mirroring in two models ('site-a' and 'site-b') and then deployed OpenStack to one of them ('site-a'). After importing an image to Glance `juju status` output informs me that the ceph-rbd-mirror unit in both models enters the 'blocked' state and issues a warning:
site-a- ceph-rbd- mirror/ 0* blocked idle 3 10.5.0.36 Unit is ready (Pools WARNING (1) Images unknown (1))
site-b- ceph-rbd- mirror/ 0* blocked idle 3 10.5.0.21 Unit is ready (Pools WARNING (1) Images unknown (1))
This is what I see for the 'glance' pool in both models:
$ juju ssh -m site-a site-a-ceph-mon/0 sudo rbd mirror pool status glance --verbose
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS site-a- 3 site-a- 3
service 4813:
instance_id: 6267
client_id: juju-ae4ac4-
hostname: juju-ae4ac4-
version: 15.2.8
leader: true
health: OK
IMAGES 46af-458c- a377-9fb415794e 34: af5c-4bcd- 91b8-1be0e827c2 94 site-a- 3 on juju-ae4ac4- site-a- 3
29843766-
global_id: 3ce8603c-
state: up+stopped
description: local image is primary
service: juju-ae4ac4-
last_update: 2021-03-19 19:17:30
------- ------- -------
$ juju ssh -m site-b site-b-ceph-mon/0 sudo rbd mirror pool status glance --verbose
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS site-b- 3 site-b- 3
service 4878:
instance_id: 5446
client_id: juju-1930d6-
hostname: juju-1930d6-
version: 15.2.8
leader: true
health: OK
IMAGES 46af-458c- a377-9fb415794e 34: af5c-4bcd- 91b8-1be0e827c2 94 per_second" :0.0,"entries_ behind_ primary" :0,"entries_ per_second" :0.0,"non_ primary_ position" :{"entry_ tid":33936, "object_ number" :32,"tag_ tid":1} ,"primary_ position" :{"entry_ tid":33936, "object_ number" :32,"tag_ tid":1} } site-b- 3 on juju-1930d6- site-b- 3
29843766-
global_id: 3ce8603c-
state: up+replaying
description: replaying, {"bytes_
service: juju-1930d6-
last_update: 2021-03-19 19:17:30
======
I've attached logs for the ceph-rbd-mirror unit in model 'site-a'.