Fix glance Upload large image haproxy timeout
Change-Id: I1a4d5ae561a944a138512d7573fe16b5197050af Closes-Bug: #1675637
This commit is contained in:
parent
25d2eb4ab2
commit
538a9ebf2d
@ -15,3 +15,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"
|
||||
|
@ -89,6 +89,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