udev-generated /dev/disk/by-path names broken for virtio disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Wishlist
|
Dimitri John Ledkov | ||
systemd |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Wishlist
|
Dimitri John Ledkov |
Bug Description
The udev-generated /dev/disk/by-path names for virtio disks are broken on z Systems as they have the format virtio-
---uname output---
Linux ubuntu 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:05:09 UTC 2016 s390x s390x s390x GNU/Linux
Machine Type = 2964-703 running KVM for IBM z Systems
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Install Ubuntu LTS 16.04.1 on KVM for IBM z Systems 1.1.1
2. Issue ls -l /dev/disk/by-path
Userspace tool common name: udev
The userspace tool has the following bit modes: 64-bit
Userspace rpm: udev
Userspace tool obtained from project website: na
There are basically two problems with this:
1. The naming is technically incorrect, since the virtio devices on z are no PCI devices but CCW devices
2. Then naming based on virtio- is backwards incompatible. This may seem not to be an issue for Xenial but customers may be confused if they have been running Linux on KVM for IBM z before.
tags: | added: architecture-s39064 bugnameltc-146190 severity-high targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → udev-discover (Ubuntu) |
affects: | udev-discover (Ubuntu) → udev (Ubuntu) |
tags: |
added: targetmilestone-inin16041 removed: targetmilestone-inin--- |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Dimitri John Ledkov (xnox) |
tags: | removed: bugnameltc-146190 severity-high |
Changed in ubuntu-z-systems: | |
status: | New → Invalid |
tags: | added: bugnameltc-146190 severity-high |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Changed in systemd: | |
status: | Unknown → Fix Released |
Userspace rpm: udev
... Ubuntu does not use RPMs, do you mean .deb or just package?
Note the bugs are tracked by source package name, which is systemd.
This change was introduced upstream in v229 see: /github. com/systemd/ systemd/ blob/master/ NEWS
https:/
https:/ /github. com/systemd/ systemd/ commit/ f073b1b3c0f4f0d f1b0bd61042ce85 fb5d27d407
https:/ /lists. linuxfoundation .org/pipermail/ virtualization/ 2015-August/ 030328. html
https:/ /github. com/systemd/ systemd/ issues/ 2501
Please discuss this upstream to change/improve the path_id detection. This is not ubuntu-specific and affects all Linux on z that use systemd v229 or newer.
If a fix for this lands upstream, we can discuss cherrypicking it to xenial.