os-brick/os_brick
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
..
encryptors encryptors: Introduce support for LUKS2 2019-09-03 18:44:41 +00:00
initiator iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-11-29 16:23:18 +00:00
local_dev Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Remove VxFlexOS connector external dependencies 2019-10-22 16:44:13 +03:00
remotefs Make NFS already mounted message debug level 2019-06-18 16:12:30 -05:00
tests 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 doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00