aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-10 12:17:28 +0000
committerGerrit Code Review <review@openstack.org>2015-09-10 12:17:28 +0000
commitd5990ce93fd973eb15634eb74d2d786a70e652a9 (patch)
tree1756468a742f95123d7309966f00c38d375428f0
parent3932b83815b00cccfe64ada336b5e92c785a22ea (diff)
parent9d156eb005608fa822ff049a4cbd19890fd102f5 (diff)
downloadkolla-d5990ce93fd973eb15634eb74d2d786a70e652a9.tar.gz
kolla-d5990ce93fd973eb15634eb74d2d786a70e652a9.zip
Merge "First keepalived container is started with wrong priority"
-rw-r--r--ansible/roles/haproxy/templates/keepalived.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/haproxy/templates/keepalived.conf.j2 b/ansible/roles/haproxy/templates/keepalived.conf.j2
index 232ff8e46..01ddabafe 100644
--- a/ansible/roles/haproxy/templates/keepalived.conf.j2
+++ b/ansible/roles/haproxy/templates/keepalived.conf.j2
@@ -9,7 +9,7 @@ vrrp_instance Floating {
state MASTER
interface {{ api_interface }}
virtual_router_id 51
- priority {{ groups['haproxy'].index(inventory_hostname) }}
+ priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
advert_int 1
virtual_ipaddress {
{{ kolla_internal_address }}