summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ha/templates/haproxy.cfg
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-09-23 16:46:54 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-09-23 16:46:54 +0000
commitd16d74fbbe738f0d15366dedf9f5e042505ee1e8 (patch)
tree96f997851c91df8ced27a5bc4596287fe3d37b5f /deploy/adapters/ansible/roles/ha/templates/haproxy.cfg
parent8e3005507e0318ec4cf9a1c158a5749c1155263e (diff)
parent5dcc94014a588e6f7bb5cb605b164609ac0b50c7 (diff)
Merge "bug fix: using external_vip as linked dashboard ip"
Diffstat (limited to 'deploy/adapters/ansible/roles/ha/templates/haproxy.cfg')
-rw-r--r--deploy/adapters/ansible/roles/ha/templates/haproxy.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ha/templates/haproxy.cfg b/deploy/adapters/ansible/roles/ha/templates/haproxy.cfg
index 8f026fa4..27aa5b24 100644
--- a/deploy/adapters/ansible/roles/ha/templates/haproxy.cfg
+++ b/deploy/adapters/ansible/roles/ha/templates/haproxy.cfg
@@ -27,6 +27,7 @@ defaults
listen proxy-glance_registry_cluster
bind {{ internal_vip.ip }}:9191
+ bind {{ public_vip.ip }}:9191
option tcpka
option tcplog
balance source
@@ -47,6 +48,7 @@ listen proxy-glance_api_cluster
listen proxy-nova-novncproxy
bind {{ internal_vip.ip }}:6080
+ bind {{ public_vip.ip }}:6080
option tcpka
option tcplog
balance source
@@ -56,6 +58,7 @@ listen proxy-nova-novncproxy
listen proxy-network
bind {{ internal_vip.ip }}:9696
+ bind {{ public_vip.ip }}:9696
option tcpka
option tcplog
balance source
@@ -65,6 +68,7 @@ listen proxy-network
listen proxy-volume
bind {{ internal_vip.ip }}:8776
+ bind {{ public_vip.ip }}:8776
option tcpka
option httpchk
option tcplog
@@ -75,6 +79,7 @@ listen proxy-volume
listen proxy-keystone_admin_cluster
bind {{ internal_vip.ip }}:35357
+ bind {{ public_vip.ip }}:35357
option tcpka
option httpchk
option tcplog
@@ -85,6 +90,7 @@ listen proxy-keystone_admin_cluster
listen proxy-keystone_public_internal_cluster
bind {{ internal_vip.ip }}:5000
+ bind {{ public_vip.ip }}:5000
option tcpka
option httpchk
option tcplog