HAProxy does not have murano-api configuration

This commit fixes configuration for murano-api HA

Change-Id: I6b6f2c266cbb4c8131a949e31094572dad91fc40
Closes-Bug: #1510921
Backport: Liberty
This commit is contained in:
Vladislav Belogrudov 2015-10-28 15:22:25 +03:00 committed by Sam Yaple
parent 9bb4058489
commit f4eb89f8b0

View File

@ -157,3 +157,11 @@ listen swift_api
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ swift_proxy_server_port }} check inter 2000 rise 2 fall 5
{% endfor %}
{% endif %}
{% if enable_murano | bool %}
listen murano_api
bind {{ kolla_internal_address }}:{{ murano_api_port }}
{% for host in groups['murano-api'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ murano_api_port }} check inter 2000 rise 2 fall 5
{% endfor %}
{% endif %}