os-brick/releasenotes/notes
Gorka Eguileor 7eec31b6c4 Improve WWN detection
To avoid issues with the scsi_id command getting stuck and blocking the
attachment we use sysfs to search for the WWN, but it can happen that we
fail to detect the WWN even if it's present in sysfs.

This happens when the storage array has multiple designators and the
multipath daemon detects the multipaths very fast.

The flow is:

- os-brick attaches volumes using iscsiadm --login
- udev generates the symlink with the WWN (this is the one we want)
- multipathd detects the volumes and forms the DM
- udev replaces the previous symlink to point to the multipath DM
- os-brick checks the symlink

This patch adds code to get_sysfs_wwn that checks the individual devices
belonging to a multipath DM if the symlink points to a DM.

Closes-Bug: #1881608
Change-Id: I05f94d31277efec28ad50ae2f3502ab6fccfe37c
(cherry picked from commit 7fb37c2000)
(cherry picked from commit 935daead18)
2020-08-28 13:07:48 +02:00
..
add-luks2-support-13563cfe83aba69c.yaml encryptors: Introduce support for LUKS2 2019-09-03 18:44:41 +00:00
add-vstorage-protocol-b536f4e21d764801.yaml Add missing release notes 2016-02-14 10:32:06 -06:00
add-windows-fibre-channel-030c095c149da321.yaml Add Windows Fibre Channel connector 2016-08-04 23:12:09 +03:00
add-windows-iscsi-15d6b1392695f978.yaml release note for windows iSCSI 2016-07-05 15:23:05 -07:00
add-windows-smbfs-d86edaa003130a31.yaml Add Windows SMBFS connector 2016-08-04 23:07:01 +03:00
add_custom_keyring_for_rbd_connection-eccbaae9ee5f3491.yaml RBD: consider a custom keyring in connection info 2017-03-28 15:51:44 +00:00
bug-1722432-2408dab55c903c5b.yaml Update supported transports for iscsi connector 2018-01-16 15:01:53 +08:00
bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml Add release note for scaleio connector upgrade 2020-08-17 20:34:52 -07:00
bug-1823200-train-10d7cec0746705df.yaml Remove VxFlex OS credentials from connection_properties 2020-06-03 10:31:43 +03:00
bug-1883654-cc069892496bd4a8.yaml Fix "Remove VxFlex OS credentials" regression 2020-06-17 12:00:19 -04:00
delay-legacy-encryption-provider-name-deprecation-c0d07be3f0d92afd.yaml encryptors: Delay removal of legacy provider names 2017-05-16 08:27:12 +00:00
deprecate-plain-cryptsetup-encryptor-0a279abc0b0d718c.yaml encryptors: Deprecate the CryptsetupEncryptor 2019-08-22 18:23:08 -04:00
fc-always-check-single-wwnn-1595689da0eb673b.yaml FC: Ignore some HBAs from map for single WWNN 2019-05-09 18:55:52 +02:00
fix-fc-scan-too-broad-3c576e1846b7f05f.yaml Fix FC scan too broad 2019-11-14 15:41:30 +01:00
fix-multipath-disconnect-819d01e6e981883e.yaml Fix multipath disconnect with path failure 2018-08-13 11:02:01 +02:00
improve-get_sysfs_wwn-df38ea88cdcdcc94.yaml Improve WWN detection 2020-08-28 13:07:48 +02:00
introduce-encryption-provider-constants-a7cd0ce58da2bae8.yaml encryptors: Introduce encryption provider constants 2017-01-10 12:11:35 +00:00
iscsi_manual_scan_support-d64a1c3c8e1986b4.yaml Add open-iscsi manual scan support 2017-06-16 16:09:35 +02:00
local-attach-in-rbd-connector-c06347fb164b084a.yaml Local attach feature in RBD connector 2016-07-26 18:37:14 +00:00
multipath-improvements-596c2c6eadfba6ea.yaml Add missing release notes 2016-02-14 10:32:06 -06:00
nvme-rsd-support-d487afd77c534fa1.yaml Support RSD scenario of nvme connector 2018-12-24 13:51:20 +08:00
refactor_iscsi_connect-dfbb24305a954783.yaml Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
refactor_iscsi_disconnect-557f4173bc1ae4ed.yaml Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
remove-old-constants-20021f5b30bde890.yaml Fix a typographical error in a release notes entry. 2017-11-27 14:36:49 +02:00
scaleio-extend-attached-ec44d3a72395882c.yaml Adding support to extend attached ScaleIO volumes 2018-03-19 09:05:30 -04:00
start-using-reno-23e8d5f1a30851a1.yaml Add reno for release notes management 2016-01-20 19:19:36 -06:00
veritas-hyperscale-connector-fe56cec68b1947cd.yaml os-brick connector for Veritas HyperScale 2017-04-11 17:45:34 +05:30
vmware-vmdk-connector-19e6999e6cae43cd.yaml Add connector for vmdk volumes 2016-08-09 17:23:30 +05:30