This is to copy fix of bug 1439869 from Nova to os-brick.
Currently iSCSI volume attachment fails if iscsi_use_multipath is
set to True. This is because the encryptor requests cryptsetup
to create the symlink to the LUKS device with the same name of
the device-mapper multipath device. To avoid the name collision,
this patch adds the 'crypt-' prefix to the symlink.
Reviewed: https:/ /review. openstack. org/338017 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=9d2bb5e15de 92c72cc50bac2ee 5d0b3b2704ed1e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9d2bb5e15de92c7 2cc50bac2ee5d0b 3b2704ed1e
Author: lisali <email address hidden>
Date: Wed Jul 6 13:48:20 2016 +0800
Fix multipath iSCSI encrypted volume attach failure
This is to copy fix of bug 1439869 from Nova to os-brick.
Currently iSCSI volume attachment fails if iscsi_use_multipath is
set to True. This is because the encryptor requests cryptsetup
to create the symlink to the LUKS device with the same name of
the device-mapper multipath device. To avoid the name collision,
this patch adds the 'crypt-' prefix to the symlink.
Change-Id: Ia001204df9b14f 635ab998590e8ad d119c1aec23
Closes-Bug: #1439869