Merge "stack: Workaround libvirt issue with multiple of 16 byte fixed_key values"
This commit is contained in:
commit
4ae18aec88
7
stack.sh
7
stack.sh
@ -1259,8 +1259,13 @@ if is_service_enabled g-reg; then
|
||||
fi
|
||||
|
||||
# Create a randomized default value for the key manager's fixed_key
|
||||
# NOTE(lyarwood): This is currently set to 36 as a workaround to the following
|
||||
# libvirt bug that incorrectly pads passphrases that are a multiple of 16 bytes
|
||||
# in length.
|
||||
# Unable to use LUKS passphrase that is exactly 16 bytes long
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1447297
|
||||
if is_service_enabled nova; then
|
||||
iniset $NOVA_CONF key_manager fixed_key $(generate_hex_string 32)
|
||||
iniset $NOVA_CONF key_manager fixed_key $(generate_hex_string 36)
|
||||
fi
|
||||
|
||||
# Launch the nova-api and wait for it to answer before continuing
|
||||
|
Loading…
x
Reference in New Issue
Block a user