os-brick/os_brick/initiator/connectors
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
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py Merge "Delete redundant code" 2019-08-28 20:06:31 +00:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-20 09:23:12 -04:00
fibre_channel_s390x.py Fix param in s390x platform 2019-08-27 02:02:05 +00:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:39:21 +00:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvmeof.py Rename nvme to nvmeof 2019-09-03 09:39:35 -04:00
rbd.py rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-04-15 11:37:50 +01:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py Remove VxFlexOS connector external dependencies 2019-10-29 13:01:38 -05:00
sheepdog.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
vmware.py VMware: Detach backing vmdk during disconnect 2019-02-01 15:05:07 -08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00