os-brick/os_brick/tests/initiator
Lee Yarwood 9e30e5155d 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)
(cherry picked from commit fcff1e0cb2)
2020-04-15 11:38:23 +01:00
..
connectors rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-04-15 11:38:23 +01:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Improve detection of multipathd running 2019-03-26 10:42:55 -05: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-27 19:32:09 +01:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-12-11 17:19:58 +00:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00