multipath discovery failed during install due to missing udev properties defined by sg3-utils udev rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-detect (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
During a Xenial installation, the multipath devices from an IBM IPR controller were not discovered, as the block devices lacked the SCSI_IDENT_* udev properties.
The fix was to simply reload udev rules and re-add the devices w/ update-dev; and the devices were correctly multipathed.
Adding a patch to do that in /bin/disk-detect.
~ # multipath -l
~ #
~ # multipath -v3
Feb 22 13:38:33 | libdevmapper version 1.02.110 (2015-10-30)
Feb 22 13:38:33 | DM multipath kernel driver v1.10.0
Feb 22 13:38:33 | loading /lib/multipath/
Feb 22 13:38:33 | loading /lib/multipath/
Feb 22 13:38:33 | sda: blacklisted, udev property missing
Feb 22 13:38:33 | sdb: blacklisted, udev property missing
Feb 22 13:38:33 | sdc: blacklisted, udev property missing
Feb 22 13:38:33 | sdd: blacklisted, udev property missing
Feb 22 13:38:33 | sde: blacklisted, udev property missing
Feb 22 13:38:33 | sdf: blacklisted, udev property missing
Feb 22 13:38:33 | sdg: blacklisted, udev property missing
Feb 22 13:38:33 | sr0: blacklisted, udev property missing
Feb 22 13:38:33 | sdh: blacklisted, udev property missing
Feb 22 13:38:33 | sdi: blacklisted, udev property missing
Feb 22 13:38:33 | sdj: blacklisted, udev property missing
Feb 22 13:38:33 | sdk: blacklisted, udev property missing
Feb 22 13:38:33 | sdl: blacklisted, udev property missing
Feb 22 13:38:33 | sdm: blacklisted, udev property missing
Feb 22 13:38:33 | sdn: blacklisted, udev property missing
<...>
===== no paths =====
<...>
~ # udevadm info -q all /dev/sda
P: /devices/
N: sda
S: disk/by-
S: disk/by-
E: DEVLINKS=
E: DEVNAME=/dev/sda
E: DEVPATH=
E: DEVTYPE=disk
E: ID_BUS=scsi
E: ID_MODEL=
E: ID_MODEL_
E: ID_PART_
E: ID_PART_
E: ID_PATH=
E: ID_PATH_
E: ID_SCSI=1
E: ID_SERIAL=
E: ID_SERIAL_
E: ID_TARGET_PORT=d5ad
E: ID_TYPE=disk
E: ID_VENDOR=IBM
E: ID_VENDOR_
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZE
~ # udevadm control --reload
~ # /bin/update-dev
~ # udevadm info -q property /dev/sda
DEVLINKS=
DEVNAME=/dev/sda
DEVPATH=
DEVTYPE=disk
ID_BUS=scsi
ID_MODEL=
ID_MODEL_
ID_PART_
ID_PART_
ID_PATH=
ID_PATH_
ID_SCSI=1
ID_SERIAL=
ID_SERIAL_
ID_TYPE=disk
ID_VENDOR=IBM
ID_VENDOR_
MAJOR=8
MINOR=0
SCSI_IDENT_
SCSI_IDENT_
SCSI_IDENT_
SCSI_IDENT_
SCSI_MODEL=
SCSI_MODEL_
SCSI_TPGS=1
SCSI_TYPE=disk
SCSI_VENDOR=IBM
SCSI_VENDOR_
SUBSYSTEM=block
USEC_INITIALIZE
~ # multipath -v3
Feb 22 14:45:07 | sda: udev property SCSI_IDENT_LUN_T10 whitelisted
<...>
===== paths list =====
uuid hcil dev dev_t pri dm_st chk_st vend/prod/rev
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
1IBM_IPR-
<...>
Related branches
tags: | added: xenial |
tags: | added: rls-x-incoming |
Changed in hw-detect (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hw-detect (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Hi @mathieu-tl,
Can you check this bug/patch, please?
Thanks!