Merge "Fix glance Upload large image haproxy timeout"
This commit is contained in:
commit
3ba11be4a3
@ -38,3 +38,6 @@ haproxy_image_full: "{{ haproxy_image }}:{{ haproxy_tag }}"
|
||||
|
||||
haproxy_client_timeout: "1m"
|
||||
haproxy_server_timeout: "1m"
|
||||
|
||||
haproxy_glance_api_client_timeout: "6h"
|
||||
haproxy_glance_api_server_timeout: "6h"
|
||||
|
@ -92,6 +92,8 @@ listen glance_registry
|
||||
|
||||
listen glance_api
|
||||
bind {{ kolla_internal_vip_address }}:{{ glance_api_port }}
|
||||
timeout client {{ haproxy_glance_api_client_timeout }}
|
||||
timeout server {{ haproxy_glance_api_server_timeout }}
|
||||
{% for host in groups['glance-api'] %}
|
||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ glance_api_port }} check inter 2000 rise 2 fall 5
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user