list-disk action wrongly report journal_disk as non-pristine disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Released
|
Medium
|
dongdong tao |
Bug Description
If the osd-journal config use the journal device's symbol link as the value.
This will result the juju list-disk action wrongly report a journal device as non pristine.
list-disk action tried to exclude the journal device when it's trying to detect all the non-pristine devices.
we can see below code from :
----
osd_journal = utils.get_
for dev in list(set(
if (not ceph.utils.
not ceph.utils.
----
The problem here is that ceph.utils.
Changed in charm-ceph-osd: | |
milestone: | none → 19.10 |
assignee: | nobody → dongdong tao (taodd) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in charm-ceph-osd: | |
milestone: | 19.10 → 20.01 |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
I'll submit a patch soon