neutron/neutron/tests/unit/agent
Slawek Kaplonski 3b2b7f4fe7 Remove update_initial_state() method from the HA router
This method was intended to check state of the HA router on the
node and update it in the neutron server.
Patch [1] added check of the initial status to the
neutron_keepalived_state_change_monitor process.
It also could cause some race conditions and event which is setting
correct state of the router will be not processed thus router may endup
with two nodes with "primary" state in the Neutron's DB.

Neutron_keepalived_state_change_monitor was notifying agent about
router's initial state only if this state was 'primary'.
Now it will notify agent always to let agent set router's state as
'backup' if needed (that was previously done by this removed
update_initial_state() method).

[1] https://review.opendev.org/c/openstack/neutron/+/642295

Conflicts:
    neutron/agent/l3/ha_router.py
    neutron/agent/l3/keepalived_state_change.py
    neutron/tests/unit/agent/l3/test_dvr_local_router.py

Change-Id: I2cc58c30cf844ee0ecf0611ecdec430086464790
Closes-Bug: #1916022
(cherry picked from commit 0d8ae15767)
2021-02-27 18:20:15 +00:00
..
common [OVS] Make QoS OVS agent deletion operations more resilient 2020-06-23 13:16:37 +00:00
dhcp Process DHCP events in order if related 2021-02-10 08:52:47 +00:00
l2 Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
l3 Remove update_initial_state() method from the HA router 2021-02-27 18:20:15 +00:00
linux Merge "Ensure "keepalived" is correcly disabled" into stable/train 2021-01-21 04:21:09 +00:00
metadata Fix return correct cache when reusing port 2020-04-08 12:08:13 +00:00
ovsdb Add native OVSDB implementation for bridge monitor 2018-12-03 16:09:06 +00:00
windows windows: fix terminating processes 2020-10-09 09:40:45 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Initialize modifiable list of resources in CacheBackedPluginApi. 2019-07-26 11:51:39 +00:00
test_securitygroups_rpc.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00