Device Path Pattern for Block Devices Rejects Legitimate Paths

Bug #1830326 reported by Joseph Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Harry Pidcock

Bug Description

The following log output was observed while working to resolve an unrelated issue:
https://pastebin.canonical.com/p/gVgxVFmJd9/

The regular expression that designates a valid device path expects only the device name in the final segment - in this example that would mean "sdn1" instead of "sdn/sdn1".

This doesn't appear to be an error condition - the device path is simply not stored in state against the device. It should be fixed though.

Changed in juju:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Joseph Phillips (manadart) wrote :

Happens with the OCI provider too:

machine-0: 10:29:11 DEBUG juju.worker.diskmanager non matching DEVPATH for "sda1": "/devices/pci0000:00/0000:00:04.0/virtio0/host2/target2:0:0/2:0:0:1/block/sda/sda1"
machine-0: 10:29:11 DEBUG juju.worker.diskmanager non matching DEVPATH for "sda14": "/devices/pci0000:00/0000:00:04.0/virtio0/host2/target2:0:0/2:0:0:1/block/sda/sda14"
machine-0: 10:29:11 DEBUG juju.worker.diskmanager non matching DEVPATH for "sda15": "/devices/pci0000:00/0000:00:04.0/virtio0/host2/target2:0:0/2:0:0:1/block/sda/sda15"

Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Harry Pidcock (hpidcock)
milestone: none → 2.7-beta1
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Harry Pidcock (hpidcock)
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: 2.7-beta1 → 2.6.10
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.