Fix wrong api interface reference in haproxy.cfg for nova serial
Change-Id: Ie81e3a2528ea04106ecf8c9f5e4491b1d98d2f7a Closes-Bug: #1674645
This commit is contained in:
parent
7fc5ca29b2
commit
f7c54a5dd2
@ -144,7 +144,7 @@ listen nova_spicehtml5proxy
|
||||
listen nova_serialconsole_proxy
|
||||
bind {{ kolla_internal_vip_address }}:{{ nova_serialproxy_port }}
|
||||
{% for host in groups['nova-serialproxy'] %}
|
||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ nova_serialproxy_port }} check inter 2000 rise 2 fall 5
|
||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_serialproxy_port }} check inter 2000 rise 2 fall 5
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if haproxy_enable_external_vip | bool %}
|
||||
|
Loading…
Reference in New Issue
Block a user