nova/nova/tests/unit/volume
Tomoki Sekiyama 82190bdd28 Fix multipath iSCSI encrypted volume attach failure
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.

NOTE(lyarwood): The rootwrap.d portion of this change is dropped for
stable/mitaka to avoid upgrade issues. The current wildcard based ln
filter means that the remainder of the change will still correct this
issue.

Conflicts:
        etc/nova/rootwrap.d/compute.filters
        nova/tests/unit/volume/encryptors/test_cryptsetup.py

Change-Id: I01a3104025a9c479e40933ca24024355df9dfb8b
Closes-Bug: #1439869
(cherry picked from commit 89a61ab8f4)
2016-08-03 14:14:43 +00:00
..
encryptors Fix multipath iSCSI encrypted volume attach failure 2016-08-03 14:14:43 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_cinder.py Check if a exception has a code on it before read the code 2016-04-09 18:24:35 +00:00