Define oslo_messaging_rabbit section if either RPC or Notifications are enabled
At the moment Keystone config would not contain rabbitmq tunning for notifications, while this still might be preffered. We adjust template to contain oslo_messaging_rabbit if either RPC or Notifications are enabled. Change-Id: I2e801fade862608382aa0adb868eff3f44ed938b
This commit is contained in:
parent
429dfbea39
commit
cb2db99992
@ -26,7 +26,9 @@ notification_opt_out = {{ opt_out }}
|
||||
{% if keystone_oslomsg_rpc_configure %}
|
||||
## Oslo.Messaging RPC
|
||||
transport_url = {{ keystone_oslomsg_rpc_transport }}://{% for host in keystone_oslomsg_rpc_servers.split(',') %}{{ keystone_oslomsg_rpc_userid }}:{{ keystone_oslomsg_rpc_password }}@{{ host }}:{{ keystone_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ _keystone_oslomsg_rpc_vhost_conf }}{% if keystone_oslomsg_rpc_use_ssl | bool %}?ssl=1&ssl_version={{ keystone_oslomsg_rpc_ssl_version }}&ssl_ca_file={{ keystone_oslomsg_rpc_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if keystone_oslomsg_rpc_configure or keystone_oslomsg_notify_configure %}
|
||||
[oslo_messaging_rabbit]
|
||||
rabbit_quorum_queue = {{ keystone_oslomsg_rabbit_quorum_queues }}
|
||||
rabbit_transient_quorum_queue = {{ keystone_oslomsg_rabbit_transient_quorum_queues }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user