list-disks action gives an error when disk known by udev is omitted from value of osd-devices option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
Using rev.294 of the ceph-osd charm, when two disks are visible by a unit's underlying machine and one of those disks is omitted from the list of devices given by the `osd-devices` option an error appears when the `list-disks` action is run.
$ juju run-action --wait ceph-osd/0 list-disks
unit-ceph-osd-0:
UnitId: ceph-osd/0
id: "3"
results:
Stderr: |2
Failed to find physical volume "/dev/vdc".
blacklist: '[]'
disks: '[''/dev/vdb'', ''/dev/vdc'']'
non-pristine: '[]'
status: completed
timing:
completed: 2020-01-24 15:26:20 +0000 UTC
enqueued: 2020-01-24 15:26:18 +0000 UTC
started: 2020-01-24 15:26:19 +0000 UTC
$ juju config ceph-osd osd-devices
/dev/vdb
Changed in charm-ceph-osd: | |
importance: | Medium → Low |
status: | New → Triaged |
The error is captured in the action output, but does it cause a problem with the action or functionality of the cluster? This will determine the importance of the bug.