Comment 3 for bug 1892201

Revision history for this message
Peter Matulis (petermatulis) wrote :

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

IMAGES
29843766-46af-458c-a377-9fb415794e34:
  global_id: 3ce8603c-af5c-4bcd-91b8-1be0e827c294
  state: up+replaying
  description: replaying, {"bytes_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}}
  service: juju-1930d6-site-b-3 on juju-1930d6-site-b-3
  last_update: 2021-03-19 19:17:30

======

I've attached logs for the ceph-rbd-mirror unit in model 'site-a'.