os-brick/os_brick/initiator/connectors
Lee Yarwood ed9feedfa3 iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate
Bug #1820007 documents failures to find /dev/disk/by-id/ symlinks
associated with encrypted volumes both in real world and CI
environments. These failures appear to be due to udev on these slow or
overloaded hosts failing to populate the required /dev/disk/by-id/
symlinks in time after the iSCSI volume has been connected.

This change seeks to avoid such failures by simply decorating
_get_device_link with the @utils.retry to hopefully allow udev time to
create the required symlinks under /dev/disk/by-id/.

Closes-Bug: #1820007
Change-Id: Ib9c8ebae7a6051e18538920139fecd123682a474
(cherry picked from commit 331316827a)
(cherry picked from commit d8ed21e7d2)
(cherry picked from commit 7ffa3fb7d9)
2019-12-03 15:39:45 +00:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py Check path alive before get scsi wwn 2019-09-04 11:24:18 -04:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-20 09:23:12 -04:00
fibre_channel_s390x.py Fix multipath disconnect with path failure 2018-08-21 09:26:43 -05:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:39:45 +00:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvme.py Retry executing command "nvme list" when fail 2018-10-28 07:26:32 +00:00
rbd.py Fix ceph incremental backup fail 2017-06-29 10:36:36 +08:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py Adding support to extend attached ScaleIO volumes 2018-03-19 09:05:30 -04:00
sheepdog.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
vmware.py Fix vmware migrate available volume bug 2017-09-11 16:43:24 +08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00