os-brick/os_brick/tests
Lee Yarwood fcff1e0cb2 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
(cherry picked from commit 9415b3b41f)
(cherry picked from commit 36b207239b)
(cherry picked from commit 3ce686a9fa)
2020-04-15 11:38:16 +01:00
..
encryptors Skip cryptsetup password quality checking 2020-02-21 11:37:32 -05:00
initiator rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-04-15 11:38:16 +01:00
local_dev set vg_thin_pool_size to float type 2017-11-28 09:58:50 +08:00
privileged Tests: Fix PrivRootwrapTestCase failure 2018-12-17 15:48:12 +00:00
remotefs Fix NFS "already mounted" detection 2018-12-05 12:41:38 -05:00
windows Windows iSCSI: ensure disks are claimed by MPIO 2018-03-19 10:46:53 +00: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