os-brick/os_brick/tests/initiator
Lee Yarwood 331316827a 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
2019-11-29 16:23:18 +00:00
..
connectors iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-11-29 16:23:18 +00:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Rename nvme to nvmeof 2019-09-03 09:39:35 -04:00
test_host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
test_linuxfc.py Fix FC scan too broad 2019-11-11 15:47:59 +01:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-06-11 10:20:51 +01:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00
test_utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00