** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1372108
Title:
Attaching LVM encrypted volumes has problems with other locales than
english
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
I'm on Nova 2.17.0.
There is a bug in
/usr/lib/python2.6/site-packages/nova/volume/encryptors/luks.py at line 89,
when it checks for the volume to be a valid luks device.
Instead using that pattern, that looks for a string in english language, you
should grab the boolean result of "cryptsetup isLuks".
If the compute node has different locale than english, the "nova
volume-attach" command fails.
--(I have doubts also about the flowchart of the volume attachment operation.
If the device is not recognized to be a valid luks device, you are formatting
it! So if for some reason the luks header get corrupted, it erases the whole
data)--
--(I think that the process has to be reviewed.)--
bug #1372375
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1372108/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp