os-brick/os_brick/initiator
Lee Yarwood d8ed21e7d2 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)
2019-12-03 15:39:21 +00:00
..
connectors iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:39:21 +00:00
windows Update hacking version 2019-01-18 21:30:00 -05:00
__init__.py Revert "rename ScaleIO connector to VxFlex OS" 2019-03-12 18:41:45 +00:00
connector.py Rename nvme to nvmeof 2019-09-03 09:39:35 -04:00
host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
initiator_connector.py Add staticmethod decorator in InitiatorConnector 2018-08-17 17:36:21 +08:00
linuxfc.py Fix FC scan too broad 2019-11-14 15:41:30 +01:00
linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
linuxscsi.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-06-11 10:20:51 +01:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00
utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00