summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/glance/glance-registry.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/share/openstack/glance/glance-registry.conf')
-rw-r--r--openstack/usr/share/openstack/glance/glance-registry.conf15
1 files changed, 7 insertions, 8 deletions
diff --git a/openstack/usr/share/openstack/glance/glance-registry.conf b/openstack/usr/share/openstack/glance/glance-registry.conf
index e663148d..302f4138 100644
--- a/openstack/usr/share/openstack/glance/glance-registry.conf
+++ b/openstack/usr/share/openstack/glance/glance-registry.conf
@@ -82,21 +82,20 @@ use_syslog = True
# Driver or drivers to handle sending notifications. Set to
# 'messaging' to send notifications to a message queue.
-# notification_driver = noop
+notification_driver = messagingv2
# Default publisher_id for outgoing notifications.
# default_publisher_id = image.localhost
# Messaging driver used for 'messaging' notifications driver
-# rpc_backend = 'rabbit'
+rpc_backend=rabbit
-# Configuration options if sending notifications via rabbitmq (these are
-# the defaults)
-rabbit_host = localhost
-rabbit_port = 5672
+# Configuration options if sending notifications via rabbitmq
+rabbit_host = {{ RABBITMQ_HOST }}
+rabbit_port = {{ RABBITMQ_PORT }}
rabbit_use_ssl = false
-rabbit_userid = guest
-rabbit_password = guest
+rabbit_userid = {{ RABBITMQ_USER }}
+rabbit_password = {{ RABBITMQ_PASSWORD }}
rabbit_virtual_host = /
rabbit_notification_exchange = glance
rabbit_notification_topic = notifications