Merge "Set cinder coordination backend url"

This commit is contained in:
Jenkins 2016-11-30 16:30:23 +00:00 committed by Gerrit Code Review
commit 98f2cafe8b

View File

@ -373,6 +373,13 @@ function configure_cinder {
iniset $CINDER_CONF DEFAULT os_privileged_user_password "$SERVICE_PASSWORD"
iniset $CINDER_CONF DEFAULT os_privileged_user_tenant "$SERVICE_PROJECT_NAME"
iniset $CINDER_CONF DEFAULT graceful_shutdown_timeout "$SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT"
# Set the backend url according to the configured dlm backend
if is_dlm_enabled; then
if [[ "$(dlm_backend)" == "zookeeper" ]]; then
iniset $CINDER_CONF coordination backend_url "zake://"
fi
fi
}
# create_cinder_accounts() - Set up common required cinder accounts