From 6acafed8aee5ebab3b71b14a6a046e292dbc2d79 Mon Sep 17 00:00:00 2001 From: kakathian Date: Mon, 19 Jan 2026 15:59:56 -0800 Subject: [PATCH] openflow entries removed from stopped vm --- neutron/agent/common/ovs_lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron/agent/common/ovs_lib.py b/neutron/agent/common/ovs_lib.py index 955da4e5cae..bfc70b7193c 100644 --- a/neutron/agent/common/ovs_lib.py +++ b/neutron/agent/common/ovs_lib.py @@ -727,10 +727,11 @@ def get_vif_port_set(self): if result['ofport'] == UNASSIGNED_OFPORT: LOG.warning("Found not yet ready openvswitch port: %s", result['name']) + continue elif result['ofport'] == INVALID_OFPORT: LOG.warning("Found failed openvswitch port: %s", result['name']) - elif 'attached-mac' in result['external_ids']: + if 'attached-mac' in result['external_ids']: port_id = self.portid_from_external_ids(result['external_ids']) if port_id: edge_ports.add(port_id)