neutron/neutron/tests/unit/agent/l3
Slawek Kaplonski 0d8ae15767 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

Change-Id: I2cc58c30cf844ee0ecf0611ecdec430086464790
Closes-Bug: #1916022
2021-02-23 14:58:29 +00:00
..
extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
test_dvr_fip_ns.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
test_dvr_local_router.py Remove update_initial_state() method from the HA router 2021-02-23 14:58:29 +00:00
test_dvr_snat_ns.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
test_fip_rule_priority_allocator.py Merge "Removed unnecessary setUp calls in tests" 2017-08-29 23:57:56 +00:00
test_ha_router.py Remove update_initial_state() method from the HA router 2021-02-23 14:58:29 +00:00
test_item_allocator.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_l3_agent_extension_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_legacy_router.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_router_info.py Implement "RouterInfo.update_routing_table" with Pyroute2 2020-06-09 13:48:41 +00:00