relation data bootstrapped-osds remains at 0 even when there are OSDs
Bug #1814597 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Released
|
High
|
Chris MacNaughton | ||
charms.ceph |
Fix Released
|
High
|
Chris MacNaughton |
Bug Description
Xenial, Pike, charms 18.11
We have ceph-mon and ceph-osd. We related ceph-mon to cinder-ceph, and expected the relation to complete but it did not because:
$ juju run --unit ceph-mon/4 'relation-get -r osd:258 bootstrapped-osds ceph-osd/1'
0
That unit actually has 6 OSDs. All the units were the same. I then updated the relation data:
juju run --unit ceph-osd/1 'relation-set -r mon:258 bootstrapped-
Repeated that for all the ceph-osd units. The relation between ceph-mon and cinder-ceph was then able to complete.
Changed in charm-ceph-osd: | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in charms.ceph: | |
status: | New → Triaged |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
importance: | Undecided → High |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Added ~field-critical.
Because bootstrapped-osds was set to 0, despite there being 48 OSDs in total all up and in, the relation never completed. This meant downtime for Cinder, and we were unable to roll back from the change to use the cinder-ceph subordinate as the relation between cinder and ceph-mon would also not complete.
This also prevents addition of Gnocchi to production environments, as the relation will again not complete.