Fixing notifications for glance

messaging url is not specified for glance when notifications enabled,
so it goes to localhost.

from logs:
AMQP server on 127.0.0.1:5672 is unreachable

Change-Id: I5cf16a34c0969e74dbbf84ce71119f236cfc9c5b
Closes-bug: #1652888
This commit is contained in:
Andrey Pavlov 2016-12-28 06:46:49 +00:00
parent 1397af057d
commit 1159ffb94d
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ disk_formats = raw
[oslo_messaging_notifications]
{% if searchlight is defined and searchlight.services.glance %}
driver = {{ searchlight.notification_driver }}
{{ oslo_messaging[messaging.backend.notifications]('notifications_config') }}
{% else %}
driver = noop
{% endif %}