Skip to content
Snippets Groups Projects
Commit c879b1f2 authored by James McCarthy's avatar James McCarthy
Browse files

Updated haproxy config to include swift api

Closes-bug: #1503197
backport: liberty
Change-Id: I5c233298312dabeb43efa4821855c77fd81aae67
parent f9d9abd4
No related branches found
No related tags found
No related merge requests found
...@@ -149,3 +149,11 @@ listen ironic_api ...@@ -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 %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment