os-brick/os_brick/tests
Lee Yarwood 8972aa4add 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)
(cherry picked from commit ed9feedfa3)
2019-12-03 15:40:04 +00:00
..
encryptors Make close on cryptsetup volumes idempotent 2017-11-18 00:19:42 +00:00
initiator iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:40:04 +00:00
local_dev set vg_thin_pool_size to float type 2017-11-28 09:58:50 +08:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Fix NFS "already mounted" detection 2018-12-06 11:08:00 -05:00
windows Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Merge "Replace assertDictMatch with assertDictEqual" 2016-12-22 17:24:10 +00:00
test_brick.py Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
test_utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00