os-brick/os_brick/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
windows Update hacking version 2019-01-18 21:30:00 -05:00
__init__.py Remove Sheepdog connector 2019-12-19 07:44:16 -06:00
connector.py Remove Sheepdog connector 2019-12-19 07:44:16 -06:00
host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
initiator_connector.py Update FC connection_properties examples 2019-11-11 15:49:53 +01:00
linuxfc.py Fix FC scan too broad 2019-11-11 15:47:59 +01:00
linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
linuxscsi.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-06-11 10:20:51 +01:00
utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00