ovn-bgp-agent/ovn_bgp_agent
Luis Tomas Bolivar a4c1fde816 Avoid race between withdraw_subnet and cr-lrp association
There is a chance that at the same time of processing a
withdraw_subnet event, its associated cr-lrp got moved to the
local chassis. This will lead to KeyError exception as the
withdraw process moves forward but the event to associate the
cr-lrp to the local chassis has not yet being processed.

In this case there is no need to process the withdraw_subnet
event in the local chassis as it has not yet been exposed. This
patch is adding protection for this case.

Change-Id: I64bd6e99cd6b38247b4a77c8a61860d51c6d116c
2023-02-10 10:51:17 +01:00
..
cmd Initial support for BGP 2021-09-01 11:29:04 +02:00
drivers Avoid race between withdraw_subnet and cr-lrp association 2023-02-10 10:51:17 +01:00
privileged Add retry mechanism for some pyroute actions 2023-02-09 14:27:30 +01:00
tests Merge "Remove unneed functions" 2023-02-09 11:54:08 +00:00
utils Add retry mechanism for some pyroute actions 2023-02-09 14:27:30 +01:00
__init__.py Initial commit 2021-08-27 16:56:11 +01:00
agent.py Add privsep rootwrap configuration support and filters 2022-02-22 11:03:48 +00:00
config.py Add new driver ovn_stretched_l2_bgp_driver 2023-01-10 11:19:41 +00:00
constants.py Ensure ovn loadbalancers are properly managed 2023-02-09 10:35:26 +01:00
exceptions.py Refactor some methods from OvsdbSbOvnIdl + unittests 2021-09-10 12:08:00 +01:00