Skip to content
Snippets Groups Projects
Commit aef69ae2 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Adding manila endpoints to HAProxy"

parents 5070d9c2 d8c70eca
No related branches found
No related tags found
No related merge requests found
...@@ -337,6 +337,22 @@ listen murano_api_external ...@@ -337,6 +337,22 @@ listen murano_api_external
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if enable_manila | bool %}
listen manila_api
bind {{ kolla_internal_vip_address }}:{{ manila_api_port }}
{% for host in groups['manila-api'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ manila_api_port }} check inter 2000 rise 2 fall 5
{% endfor %}
{% if haproxy_enable_external_vip | bool %}
listen manila_api_external
bind {{ kolla_external_vip_address }}:{{ manila_api_port }} {{ tls_bind_info }}
{% for host in groups['manila-api'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ manila_api_port }} check inter 2000 rise 2 fall 5
{% endfor %}
{% endif %}
{% endif %}
{% if enable_magnum | bool %} {% if enable_magnum | bool %}
listen magnum_api listen magnum_api
bind {{ kolla_internal_vip_address }}:{{ magnum_api_port }} bind {{ kolla_internal_vip_address }}:{{ magnum_api_port }}
......
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