[bionic][ussuri] pool mirroring fails due to HEALTH warning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph RBD Mirror Charm |
Triaged
|
Critical
|
Unassigned |
Bug Description
Disabling the test as currently can't resolve the health warning.
Within ceph:
# ceph version
ceph version 15.2.1 (9fd2f65f91d924
root@juju-
{
"mon": {
"ceph version 15.2.1 (9fd2f65f91d924
},
"mgr": {
"ceph version 15.2.1 (9fd2f65f91d924
},
"osd": {
"ceph version 15.2.1 (9fd2f65f91d924
},
"mds": {},
"rbd-mirror": {
"ceph version 15.2.1 (9fd2f65f91d924
},
"overall": {
"ceph version 15.2.1 (9fd2f65f91d924
}
}
On ceph-rbd-mirror/0:
# rbd --id rbd-mirror.
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS
service 5358:
instance_id: 5812
client_id: juju-c6792d-
hostname: juju-c6792d-
version: 15.2.1
leader: true
health: OK
IMAGES
3f5bd246-
global_id: 445d9987-
state: up+stopped
description: local image is primary
service: juju-c6792d-
last_update: 2020-08-19 13:41:59
# # rbd --cluster remote --id rbd-mirror.
health: WARNING
daemon health: OK
image health: WARNING
images: 1 total
1 unknown
DAEMONS
service 4977:
instance_id: 5425
client_id: juju-c6792d-
hostname: juju-c6792d-
version: 15.2.1
leader: true
health: OK
IMAGES
3f5bd246-
global_id: 445d9987-
state: up+replaying
description: replaying, master_
service: juju-c6792d-
last_update: 2020-08-19 13:42:53
i.e. despite the image being replicated, up-to-date, and otherwise okay, the image health is still 'unknown' and hence a warning. This means that the status looks like:
ceph-rbd-
ceph-rbd-mirror/0* blocked idle 12 172.20.0.18 Unit is ready (Pools WARNING (2) OK (1) Images unknown (2))
And thus, the test fails.
Changed in charm-ceph-rbd-mirror: | |
importance: | Undecided → Critical |
milestone: | none → 20.10 |
Changed in charm-ceph-rbd-mirror: | |
milestone: | 20.10 → 21.01 |
Changed in charm-ceph-rbd-mirror: | |
milestone: | 21.01 → none |
Reviewed: https:/ /review. opendev. org/717068 /git.openstack. org/cgit/ openstack/ charm-ceph- rbd-mirror/ commit/ ?id=5199c767137 fe4fa2abcd61922 1facad40c6defe
Committed: https:/
Submitter: Zuul
Branch: master
commit 5199c767137fe4f a2abcd619221fac ad40c6defe
Author: Alex Kavanagh <email address hidden>
Date: Thu Apr 2 16:59:07 2020 +0100
Add focal and ussuri bundles to the charm
This patch updates the bundles to include up to focal-ussuri.
The focal-ussuri bundle is in the dev bundles as it can't pass at the
moment due to LP: #1865754.
The bionic-ussuri bundle is in the dev bundles (i.e. not gate) as it
fails due to LP: #1892201
Also deal with the related bug where cinder-ceph requires the relation
with a nova-compute unit.
Related-Bug: #1881246 1509822277d6574 85e08dc893d
Related-Bug: #1865754
Related-Bug: #1892201
Change-Id: I0a6f1de82ecc60