neutron/neutron/tests/functional/agent
Slawek Kaplonski 56c591996b Set initial ha router state in neutron-keepalived-state-change
Sometimes in case of HA routers it may happend that
keepalived will set status of router to MASTER before
neutron-keepalived-state-change daemon will spawn "ip monitor"
to monitor changes of IPs in router's namespace.

In such case neutron-keepalived-state-change process will never
notice that keepalived set router to be MASTER and L3 agent will
not be notified about that so router will not be configured properly.

To avoid such race condition neutron-keepalived-state-change will
now check if VIP address is already configured on ha interface
before it will spawn "ip monitor". If it is already configured
by keepalived, it will notify L3 agent that router is set to
MASTER.

Change-Id: Ie3fe825d65408fc969c478767b411fe0156e9fbc
Closes-Bug: #1818614
(cherry picked from commit 8fec1ffc83)
2019-03-14 21:15:46 +00:00
..
l2 Avoid agents adding ports as trunk by default. 2018-05-09 14:07:27 +02:00
l3 Set initial ha router state in neutron-keepalived-state-change 2019-03-14 21:15:46 +00:00
linux Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
windows Fix pep8 errors 2018-04-11 01:10:49 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_firewall.py Merge "ovs-fw: Fix firewall blink" 2018-03-23 12:11:10 +00:00
test_l2_lb_agent.py LB Trunk: Stop matching MAC of subport to port model 2017-03-01 14:10:00 +00:00
test_l2_ovs_agent.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
test_ovs_flows.py of_interface: Implement bundled() method 2018-04-18 18:33:55 +09:00
test_ovs_lib.py [OVS] Add mac-table-size to be set on each ovs bridge 2018-06-08 16:26:35 +02:00