Merge "glance: stop using deprecated notifier_strategy"
This commit is contained in:
commit
56d875cc36
@ -108,10 +108,8 @@ function configure_glance() {
|
|||||||
iniset $GLANCE_API_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
|
iniset $GLANCE_API_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
|
||||||
iniset $GLANCE_API_CONF keystone_authtoken admin_user glance
|
iniset $GLANCE_API_CONF keystone_authtoken admin_user glance
|
||||||
iniset $GLANCE_API_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
|
iniset $GLANCE_API_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
|
||||||
if is_service_enabled qpid; then
|
if is_service_enabled qpid || [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then
|
||||||
iniset $GLANCE_API_CONF DEFAULT notifier_strategy qpid
|
iniset $GLANCE_API_CONF DEFAULT notification_driver messaging
|
||||||
elif [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then
|
|
||||||
iniset $GLANCE_API_CONF DEFAULT notifier_strategy rabbit
|
|
||||||
fi
|
fi
|
||||||
iniset_rpc_backend glance $GLANCE_API_CONF DEFAULT
|
iniset_rpc_backend glance $GLANCE_API_CONF DEFAULT
|
||||||
iniset $GLANCE_API_CONF keystone_authtoken signing_dir $GLANCE_AUTH_CACHE_DIR/api
|
iniset $GLANCE_API_CONF keystone_authtoken signing_dir $GLANCE_AUTH_CACHE_DIR/api
|
||||||
|
Loading…
Reference in New Issue
Block a user