Setup AMQP properly for glance-registry
As we integrated OSprofiler with Glance: https://review.openstack.org/#/c/105635/ glance-registry service started using notification API so it requires proper seted up AMQP. Change-Id: I0c4bb8a10960ed3ee06b67a209703d7ee81cf1ca
This commit is contained in:
parent
fe3be5c38e
commit
0d02924639
@ -96,6 +96,10 @@ function configure_glance {
|
||||
iniset $GLANCE_REGISTRY_CONF keystone_authtoken admin_user glance
|
||||
iniset $GLANCE_REGISTRY_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
|
||||
iniset $GLANCE_REGISTRY_CONF keystone_authtoken signing_dir $GLANCE_AUTH_CACHE_DIR/registry
|
||||
if is_service_enabled qpid || [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then
|
||||
iniset $GLANCE_REGISTRY_CONF DEFAULT notification_driver messaging
|
||||
fi
|
||||
iniset_rpc_backend glance $GLANCE_REGISTRY_CONF DEFAULT
|
||||
|
||||
cp $GLANCE_DIR/etc/glance-api.conf $GLANCE_API_CONF
|
||||
iniset $GLANCE_API_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||
|
Loading…
Reference in New Issue
Block a user