]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Adds garp_master_repeat and garp_master_refresh to keepalived.conf
authornmagnezi <nmagnezi@redhat.com>
Mon, 13 Jul 2015 13:23:28 +0000 (16:23 +0300)
committerNir Magnezi <nmagnezi@redhat.com>
Sun, 19 Jul 2015 22:38:53 +0000 (18:38 -0400)
commit141560b4221b9b58fd34405a8f94e826f92f35ff
tree6829f0160786bdbc2d617af3febab8c76ceefd29
parent95302aac849d466e2328c077c3634dd1c83ed589
Adds garp_master_repeat and garp_master_refresh to keepalived.conf

This patch aims to solve an issue when, in some cases, the L3 agent might
start before the OVS agent during a node boot process.
At such scenario, the L3 agent will configure the routers before the OVS agent
done syncing with the server and starts processing ovsdb monitor updates.

The result:
1. L3 agent finishes configuring an HA router
2. Keepalived spawned
3. In case of transition to master state, it (keepalived) sends gratuitous ARPs
                                                            ^---The issue
4. The OVS agent has just finished plugging its ports

Meaning, the gratuitous ARP will be lost, but the router acting as master.
Closes-Bug: #1453855

Change-Id: I2cffa7c0ebad20bd50396265aef9fcfa64018744
neutron/agent/linux/keepalived.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/linux/test_keepalived.py