Allow configuration of HAProxy default timeouts
With this fix operator can tune client/server timeouts of HAProxy to avoid receiving '504' for lengthy requests by API clients. Change-Id: I12611b34f99759e6b6527fea3768a971c9fbdd71 Closes-Bug: #1662506
This commit is contained in:
parent
0d16ad7343
commit
f556a42a87
@ -12,3 +12,6 @@ keepalived_image_full: "{{ keepalived_image }}:{{ keepalived_tag }}"
|
|||||||
haproxy_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-haproxy"
|
haproxy_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-haproxy"
|
||||||
haproxy_tag: "{{ openstack_release }}"
|
haproxy_tag: "{{ openstack_release }}"
|
||||||
haproxy_image_full: "{{ haproxy_image }}:{{ haproxy_tag }}"
|
haproxy_image_full: "{{ haproxy_image }}:{{ haproxy_tag }}"
|
||||||
|
|
||||||
|
haproxy_client_timeout: "1m"
|
||||||
|
haproxy_server_timeout: "1m"
|
||||||
|
@ -25,8 +25,8 @@ defaults
|
|||||||
timeout http-request 10s
|
timeout http-request 10s
|
||||||
timeout queue 1m
|
timeout queue 1m
|
||||||
timeout connect 10s
|
timeout connect 10s
|
||||||
timeout client 1m
|
timeout client {{ haproxy_client_timeout }}
|
||||||
timeout server 1m
|
timeout server {{ haproxy_server_timeout }}
|
||||||
timeout check 10s
|
timeout check 10s
|
||||||
|
|
||||||
listen stats
|
listen stats
|
||||||
|
Loading…
Reference in New Issue
Block a user