neutron/neutron/agent
Daniel Alvarez Sanchez 32e938e698 [OVN] Only account for bound ports in metadata agent
Due to bug #1922934 there might be situations with stale ports
in the OVN database. When instances request metadata, the agent
will try to fetch all ports for that particular network with the
same IP address and there should be only one.

However, when there are stale ports in OVN database but not in
Neutron, those ports may have the same IP address and the result
is that metadata won't work. As the stale ports will never be
bound to any hypervisor, this patch is accounting only for
bound ports so that those ports don't interfere until they
eventually get fixed by the maintenance task.

Related-Bug: #1922934
Signed-off-by: Daniel Alvarez Sanchez <dalvarez@redhat.com>
Change-Id: I708904b982d243359f2eeda809beae0321f1a7db
2021-04-22 15:23:43 +02:00
..
common Migrate "ovs-ofctl" to oslo.privsep 2021-03-31 16:44:30 +00:00
dhcp Don't configure dnsmasq entries for "network" ports 2021-02-18 13:18:12 +01:00
l2 Add the DHCPReponder for IPv4 2021-03-30 17:25:59 +08:00
l3 Read keepalived initial state in parallel to interface monitoring 2021-03-30 16:47:34 +00:00
linux Always use absolute path for custom kill-scripts 2021-04-09 15:28:41 +02:00
metadata Add locks for setting iptables rules in l3 and metadata agents 2021-03-31 10:02:16 +00:00
ovn [OVN] Only account for bound ports in metadata agent 2021-04-22 15:23:43 +02:00
ovsdb Remove "ovs-vsctl" support from rootwrap 2020-11-23 16:23:36 +00:00
windows Remove rootwrap execution (1) 2021-02-06 16:22:43 +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 Set process name for agents 2020-07-01 12:28:29 +02:00
firewall.py Revert "Process ingress multicast traffic for 224.0.0.X separately" 2020-10-24 08:27:38 +00:00
l3_agent.py Set process name for agents 2020-07-01 12:28:29 +02:00
metadata_agent.py Provide the rpc_response_max_timeout parameter to metadata-agent 2021-03-23 18:08:44 +09:00
resource_cache.py Ignore first local port update notification 2019-07-04 12:06:11 +00:00
rpc.py [OVS] Fix live-migration connection disruption 2021-01-13 11:13:41 +00:00
securitygroups_rpc.py Allow sharing of address groups via RBAC mechanism 2021-03-01 18:28:31 -06:00