os-brick/os_brick/tests/initiator
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
..
connectors rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-03-17 15:03:19 +00:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Split connector list by platform 2019-11-12 13:18:32 +02:00
test_host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
test_linuxfc.py Fix FC scan too broad 2019-11-11 15:47:59 +01:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py Add linuxscsi get_device_info unit test 2019-10-09 15:28:45 -04:00
test_utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00