charm is blocked when non-pristine devices are detected
Bug #1988088 reported by
Luciano Lo Giudice
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Committed
|
Medium
|
Peter Sabaini |
Bug Description
The charm can enter the blocked status with the message that non-pristine disks have been detected, and stay that way until an operator manually intervenes. This happens because once the blocked status is reached, successive reassessments are made with a broader list of devices than the originally checked. i.e: https:/
The above check doesn't consider the list of configured devices. A proposed fix would thus be that in addition to not considering the journal devices, as is done above, it should _also_ not consider the list of devices in the config parameter `osd-devices`.
Changed in charm-ceph-osd: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in charm-ceph-osd: | |
assignee: | nobody → Peter Sabaini (peter-sabaini) |
To post a comment you must log in.
https:/ /opendev. org/openstack/ charm-ceph- osd/src/ commit/ 0b8a5838925a65c 4c6eaee54c1967e 7228b545d3/ hooks/ceph_ hooks.py# L859 is a better link to the code that Luciano is referencing above