os-brick/os_brick/initiator
Lee Yarwood 36b207239b 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)
2020-04-15 11:37:50 +01:00
..
connectors rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-04-15 11:37:50 +01:00
windows Update hacking version 2019-01-18 21:30:00 -05:00
__init__.py Revert "rename ScaleIO connector to VxFlex OS" 2019-03-12 18:41:45 +00:00
connector.py Split connector list by platform 2020-02-06 07:54:15 +00: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 Add staticmethod decorator in InitiatorConnector 2018-08-17 17:36:21 +08:00
linuxfc.py Fix FC scan too broad 2019-11-14 15:41:30 +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
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00
utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00