Use rpc_transport_url in vitrage.conf

Change-Id: I1d24d4a90a6ab4abc6a3b24c0334b380d53e896a
This commit is contained in:
zhubingbing 2018-02-23 23:12:27 +08:00
parent 5f28067d36
commit 72b84b01cf

View File

@ -11,7 +11,7 @@ log_file = /var/log/kolla/vitrage/vitrage-api.log
notifiers = {{ vitrage_notifiers|map(attribute='name')|join(',') }}
{% endif %}
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
transport_url = {{ rpc_transport_url }}
[api]
host = {{ api_interface_address }}