neutron/neutron/agent
Slawek Kaplonski 5bb84a40f8 Fix deletion of subnet_id from pd_subnets
In the RouterInfo._process_internal_ports() method when it process
old ports and port belongs to the subnet with CIDR assigned by
Prefix Delegation it will try to remove subnet_id key from the
pd_subnets dict.
However it seems that in some case it may happen that such subnet_id key
is not added to the pd_subnets dict and processing of ports fails.

We shouldn't fail in such case, if there is no subnet_id key in this
dict we should be good as we want to delete it simply. So this patch
changes that to not raise KeyError in such case.

Change-Id: I6e6d890c196716c0ef4bcc2922f1ec4c142a6e79
Closes-Bug: #1892364
(cherry picked from commit 13b894288e)
2020-08-25 07:00:17 +00:00
..
common Merge "[OVS] Make QoS OVS agent deletion operations more resilient" into stable/rocky 2020-07-08 18:27:08 +00:00
dhcp Prioritize port create and update ready messages 2020-04-06 16:51:30 -04:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
l3 Fix deletion of subnet_id from pd_subnets 2020-08-25 07:00:17 +00:00
linux [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 11:23:18 +00:00
metadata Remove extra header fields in proxied metadata requests 2020-03-03 20:11:38 +00:00
ovsdb Make OVSDB debug logging optional 2018-04-18 15:57:18 -05:00
windows Fix neutron-openvswitch-agent Windows support 2018-08-28 06:53:11 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
_topics.py Add binding_deactivate method to Linux bridge agent 2018-07-14 16:46:01 -05: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-10 18:15:24 +00:00
rpc.py Ignore first local port update notification 2019-07-10 18:15:24 +00:00
securitygroups_rpc.py Add accepted egress direct flow 2020-03-26 08:23:32 +00:00