neutron/neutron/tests/functional
Slawek Kaplonski 91c26f5658 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:16:08 +00:00
..
agent Set initial ha router state in neutron-keepalived-state-change 2019-03-14 21:16:08 +00:00
api Spin off context module 2017-03-06 16:25:29 +00:00
cmd More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
common Untangle WaitTimeout class from eventlet.TimeoutError 2017-03-15 04:27:00 +00:00
db Add new test decorator skip_if_timeout 2019-02-20 10:57:17 +01:00
pecan_wsgi Merge "Pecan: Add missing emulated bulk create method" into stable/pike 2017-09-14 04:00:09 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
sanity sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00
scheduler use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
services Do not delete trunk bridges if service port attached 2018-12-17 12:19:38 +00:00
tests Use get_random_string from neutron-lib 2016-12-18 21:18:05 +02:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Use rootwrap for fullstack test runner 2017-06-08 18:42:47 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Remove compat checks for psutil 1.x 2017-07-30 09:22:48 +02:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00