diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-28 22:30:44 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-29 00:25:06 -0400 |
commit | a15266e43031c9b7f4366c84b5ae6a26dbb30d47 (patch) | |
tree | 355cd5cec664cb79698209f298ec689aec9f6956 /deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha | |
parent | 26c7dfdd7300b99c00b97acbf90f96648acd278b (diff) |
bugfix: swift ha configuration
JIRA: COMPASS-445
Change-Id: I2c2a948ba4bf63311ef23961993881c18a06bab0
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha')
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha/templates/haproxy.cfg | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha/templates/haproxy.cfg b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha/templates/haproxy.cfg index 4632c25d..66ea7139 100644 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha/templates/haproxy.cfg +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/ha/templates/haproxy.cfg @@ -161,10 +161,9 @@ listen proxy-cinder_api_cluster listen proxy-swift-proxy bind {{ internal_vip.ip }}:8080 bind {{ public_vip.ip }}:8080 - mode tcp - option httpchk - option tcplog - balance source + balance source + option tcpka + option tcplog {% for host,ip in haproxy_hosts.items() %} server {{ host }} {{ ip }}:8080 weight 1 check inter 2000 rise 2 fall 5 {% endfor %} |