neutron/neutron/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 [GRE] Add possibility to create GRE tunnels over IPv6 2021-01-11 11:24:14 +00:00
dhcp Process DHCP events in order if related 2021-02-10 08:52:47 +00:00
l2 Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3 Remove update_initial_state() method from the HA router 2021-02-27 18:20:15 +00:00
linux Fix losses of ovs flows when ovs is restarted 2021-02-05 12:10:56 +00:00
metadata Fix return correct cache when reusing port 2020-04-08 12:08:13 +00:00
ovsdb Make NeutronOvsdbIdl singleton 2020-10-21 08:37:32 +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
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
resource_cache.py Ignore first local port update notification 2019-07-04 12:06:11 +00:00
rpc.py Initialize modifiable list of resources in CacheBackedPluginApi. 2019-07-26 11:51:39 +00:00
securitygroups_rpc.py Add accepted egress direct flow 2020-01-28 08:33:01 +00:00