Update messaging notification configuration

Change-Id: Iaaba621a511430148f7347593af809e1c81f07c7
This commit is contained in:
Andy Smith 2018-09-21 08:35:13 -04:00
parent cc63216583
commit c6bfb4ee99
2 changed files with 1 additions and 4 deletions

View File

@ -108,7 +108,6 @@
_oslomsg_notify_password: "{{ heat_oslomsg_notify_password }}"
_oslomsg_notify_vhost: "{{ heat_oslomsg_notify_vhost }}"
_oslomsg_notify_transport: "{{ heat_oslomsg_notify_transport }}"
_oslomsg_configure_notify: "{{ heat_ceilometer_enabled | bool }}"
tags:
- common-mq
- heat-config

View File

@ -67,11 +67,9 @@ enable_proxy_headers_parsing = True
{% endif %}
# Ceilometer options
{% if heat_ceilometer_enabled %}
[oslo_messaging_notifications]
driver = messagingv2
driver = {% if heat_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
transport_url = {{ heat_oslomsg_notify_transport }}://{% for host in heat_oslomsg_notify_servers.split(',') %}{{ heat_oslomsg_notify_userid }}:{{ heat_oslomsg_notify_password }}@{{ host }}:{{ heat_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ heat_oslomsg_notify_vhost }}{% if heat_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
{% endif %}
[profiler]