os-brick/os_brick/tests
Lee Yarwood 9415b3b41f rbd: Use showmapped to find the root RBD device during disconnect_volume
The original method of unmapping the higher level RBD device found under
/dev/rbd/{pool}/{volume} fails when an encryptor has been attached to
the volume locally. This is due to a symlink being created that points
to the the decrypted dm-crypt device, breaking any attempt to unmap the
RBD volume.

To avoid this we can simply find and unmap the lower level RBD device of
/dev/rbd*.

Change-Id: Id507109df80391699074773f4787f74507c4b882
2020-03-17 15:03:19 +00:00
..
encryptors Skip cryptsetup password quality checking 2020-01-28 09:14:40 -05:00
initiator rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-03-17 15:03:19 +00:00
local_dev Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Remove time checks from test_custom_execute_timeout_* tests 2018-12-17 19:15:05 +02:00
remotefs Read mounts from /proc/mounts instead of running mount 2019-12-20 10:03:30 -05:00
windows Windows SMBFS: fix using share subdirs 2018-11-27 10:19:07 +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