diff options
| author | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-09-10 13:22:00 +0300 |
|---|---|---|
| committer | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-09-10 13:22:00 +0300 |
| commit | 9d156eb005608fa822ff049a4cbd19890fd102f5 (patch) | |
| tree | 2c853803adb5b815d00016c1af2eff0e3ff93797 | |
| parent | 0d09769da47b5d7fedbe8435b8f98888e495e41a (diff) | |
| download | kolla-9d156eb005608fa822ff049a4cbd19890fd102f5.tar.gz kolla-9d156eb005608fa822ff049a4cbd19890fd102f5.zip | |
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
| -rw-r--r-- | ansible/roles/haproxy/templates/keepalived.conf.j2 | 2 |
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 }} |
