[Bug 1826252] [NEW] by-id/wwn symlinks for virtio-scsi and multipath-tools not present
Ryan Harper
1826252 at bugs.launchpad.net
Wed Apr 24 17:06:11 UTC 2019
Public bug reported:
In vmtest, we use virtio-scsi controller with scsi-hd devices. When we
supply them with a wwn property, 60-persistent-storage.rules will create
a /dev/disk/by-id/wwn-<wwn value> to point to the disk with said
property.
In disco, we now include multipath-tools which brings in sg3-utils-udev
which provides a 55-scsi-sg3_id.rules file which runs before 60
-persistent-storage.rules.
In the sg3 rules, it uses sg_inq to extract values from the device.
The result is that a virtio-scsi/scsi-hd device does not expose ID_WWN
in the same way, and if no serial value is set on the device, sg3 rules
will *create* and ID_SERIAL value from the device model and other
attributes.
This _prevents_ 60-persisten-storage.rules from running scsi_id which
*does* find the the ID_WWN property on the scsi-hd.
** Affects: curtin
Importance: Undecided
Status: New
** Affects: qemu (Ubuntu)
Importance: Undecided
Status: New
** Affects: sg3-utils (Ubuntu)
Importance: Undecided
Status: New
** Affects: udev (Ubuntu)
Importance: Undecided
Status: New
** Also affects: sg3-utils (Ubuntu)
Importance: Undecided
Status: New
** Also affects: udev (Ubuntu)
Importance: Undecided
Status: New
** Also affects: qemu (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1826252
Title:
by-id/wwn symlinks for virtio-scsi and multipath-tools not present
Status in curtin:
New
Status in qemu package in Ubuntu:
New
Status in sg3-utils package in Ubuntu:
New
Status in udev package in Ubuntu:
New
Bug description:
In vmtest, we use virtio-scsi controller with scsi-hd devices. When
we supply them with a wwn property, 60-persistent-storage.rules will
create a /dev/disk/by-id/wwn-<wwn value> to point to the disk with
said property.
In disco, we now include multipath-tools which brings in sg3-utils-
udev which provides a 55-scsi-sg3_id.rules file which runs before 60
-persistent-storage.rules.
In the sg3 rules, it uses sg_inq to extract values from the device.
The result is that a virtio-scsi/scsi-hd device does not expose ID_WWN
in the same way, and if no serial value is set on the device, sg3
rules will *create* and ID_SERIAL value from the device model and
other attributes.
This _prevents_ 60-persisten-storage.rules from running scsi_id which
*does* find the the ID_WWN property on the scsi-hd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1826252/+subscriptions
More information about the foundations-bugs
mailing list