neutron/neutron/tests
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 "ping"/"ping6" command support in rootwrap filters 2020-09-29 10:26:50 +00:00
contrib Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
functional Merge "Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue"" into stable/train 2021-01-21 02:48:55 +00:00
unit Remove update_initial_state() method from the HA router 2021-02-27 18:20:15 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 16:51:12 +00:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00