First keepalived container is started with wrong priority

First keepalived container is started with priority 0 but the
latter should be in range 1-255. This gives error and keepalived
resumes with default priority 100.

Change-Id: Ib11d0072a96b818d86c81a32e78118c0c82b74d8
Closes-Bug: #1494237
This commit is contained in:
Vladislav Belogrudov 2015-09-10 13:22:00 +03:00
parent 0d09769da4
commit 9d156eb005

View File

@ -9,7 +9,7 @@ vrrp_instance Floating {
state MASTER state MASTER
interface {{ api_interface }} interface {{ api_interface }}
virtual_router_id 51 virtual_router_id 51
priority {{ groups['haproxy'].index(inventory_hostname) }} priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
advert_int 1 advert_int 1
virtual_ipaddress { virtual_ipaddress {
{{ kolla_internal_address }} {{ kolla_internal_address }}