36b207239b
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
|
||
---|---|---|
.. | ||
connectors | ||
windows | ||
__init__.py | ||
connector.py | ||
host_driver.py | ||
initiator_connector.py | ||
linuxfc.py | ||
linuxrbd.py | ||
linuxscsi.py | ||
linuxsheepdog.py | ||
utils.py |