From 1daef3512ce1c22acb3665920c22ec8bdac76f4c Mon Sep 17 00:00:00 2001 From: liyingjun Date: Tue, 20 Jun 2017 23:25:13 -0400 Subject: [PATCH] Fix glance Upload large image haproxy timeout when using external timeout options are added to glance-api but not for glance_api_external, it should be added there also. Change-Id: Idbd3dabbe24a5c71e70154dfde96c5c70eeefc10 Partial-bug: 1675637 --- ansible/roles/haproxy/templates/haproxy.cfg.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 index 54256baaf3..a61b54966c 100644 --- a/ansible/roles/haproxy/templates/haproxy.cfg.j2 +++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -101,6 +101,8 @@ listen glance_api listen glance_api_external bind {{ kolla_external_vip_address }}:{{ glance_api_port }} {{ tls_bind_info }} + 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 %}