list-disks action gives an error when disk known by udev is omitted from value of osd-devices option

Bug #1860798 reported by Peter Matulis
6
This bug affects 1 person
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

Revision history for this message
Andrew McLeod (admcleod) wrote :

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.

Changed in charm-ceph-osd:
status: New → Triaged
importance: Undecided → Medium
status: Triaged → Incomplete
Revision history for this message
Peter Matulis (petermatulis) wrote :

No, it does not cause any problems to my knowledge.

Changed in charm-ceph-osd:
status: Incomplete → New
Changed in charm-ceph-osd:
importance: Medium → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.