Merge "Disable notifications for cinder when no consumer"

This commit is contained in:
Jenkins 2016-12-02 14:58:45 +00:00 committed by Gerrit Code Review
commit 58150b05ae

View File

@ -60,6 +60,9 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}
[oslo_messaging_notifications]
{% if enable_ceilometer | bool or enable_searchlight | bool %}
driver = messagingv2
topics = notifications
{% else %}
driver = noop
{% endif %}
[database]