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
|
||
---|---|---|
.. | ||
encryptors | ||
initiator | ||
local_dev | ||
privileged | ||
remotefs | ||
tests | ||
__init__.py | ||
exception.py | ||
executor.py | ||
i18n.py | ||
utils.py | ||
version.py |