Use rpc_transport_url in blazar

Change-Id: Ifc0f1e356dd6a5c194d00ab20f3122d17c7223cc
This commit is contained in:
zhubingbing 2018-02-24 19:45:37 +08:00 committed by zhubingbing
parent 5f28067d36
commit c887c93a36

View File

@ -3,7 +3,7 @@ debug = {{ blazar_logging_debug }}
log_dir = /var/log/kolla/blazar
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 }}
host = {{ api_interface_address }}
port = {{ blazar_api_port }}