os-brick/os_brick/initiator
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
..
connectors iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:39:45 +00:00
windows Windows SMBFS: avoid mounting local shares by default 2018-07-11 15:02:14 +03:00
__init__.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
connector.py adding sheepdog connector for PPC64 2018-04-18 23:08:17 -03: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 Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
linuxfc.py FC: Ignore some HBAs from map for single WWNN 2019-06-26 04:55:14 +00:00
linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
linuxscsi.py Succeed on iSCSI detach when path just went down 2018-10-01 16:39:11 -04:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00