Updated haproxy config to include swift api
Closes-bug: #1503197 backport: liberty Change-Id: I5c233298312dabeb43efa4821855c77fd81aae67
This commit is contained in:
parent
f9d9abd408
commit
c879b1f271
@ -149,3 +149,11 @@ listen ironic_api
|
|||||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ ironic_api_port }} check inter 2000 rise 2 fall 5
|
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ ironic_api_port }} check inter 2000 rise 2 fall 5
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if enable_swift | bool %}
|
||||||
|
listen swift_api
|
||||||
|
bind {{ kolla_internal_address}}:{{ swift_proxy_server_port }}
|
||||||
|
{% for host in groups['swift-proxy-server'] %}
|
||||||
|
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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user