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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826252

Title:
  by-id/wwn symlinks for virtio-scsi and multipath-tools not present

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1826252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to