Merge "Correct notification driver"

This commit is contained in:
Zuul 2019-02-12 22:38:19 +00:00 committed by Gerrit Code Review
commit fe91f50860
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ connection = mysql+pymysql://{{ cinder_galera_user }}:{{ cinder_container_mysql_
ssl = {{ cinder_oslomsg_rpc_use_ssl }}
[oslo_messaging_notifications]
driver = {% if cinder_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
driver = {{ (cinder_ceilometer_enabled | bool) | ternary('messagingv2', 'noop') }}
transport_url = {{ cinder_oslomsg_notify_transport }}://{% for host in cinder_oslomsg_notify_servers.split(',') %}{{ cinder_oslomsg_notify_userid }}:{{ cinder_oslomsg_notify_password }}@{{ host }}:{{ cinder_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ cinder_oslomsg_notify_vhost }}{% if cinder_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
[oslo_concurrency]