Merge "Add fixed_key parameter under key_manager section in cinder conf"

This commit is contained in:
Zuul 2017-12-06 20:22:28 +00:00 committed by Gerrit Code Review
commit d00bbf4e56

View File

@ -244,6 +244,7 @@ function configure_cinder {
iniset $CINDER_CONF DEFAULT my_ip "$HOST_IP"
iniset $CINDER_CONF key_manager backend cinder.keymgr.conf_key_mgr.ConfKeyManager
iniset $CINDER_CONF key_manager fixed_key $(openssl rand -hex 16)
if is_service_enabled c-vol && [[ -n "$CINDER_ENABLED_BACKENDS" ]]; then
local enabled_backends=""