Bug 1952528

Summary: [OVN] Metadata proxy won't work if there are stale ports in OVN
Product: Red Hat OpenStack Reporter: Daniel Alvarez Sanchez <dalvarez>
Component: python-networking-ovnAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: medium Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: apevec, ekuris, ffernand, jlibosva, lhh, majopela, scohen
Target Milestone: z6Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.3.1-1.20210422143235.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1955545 (view as bug list) Environment:
Last Closed: 2021-12-09 20:19:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1955545, 1964976    

Description Daniel Alvarez Sanchez 2021-04-22 13:43:38 UTC
While there should not be any stale ports in OVN it can happen due to things like bug #1949943.

In this scenario, the Neutron metadata agent will likely find more than 1 port in the same network with the same IP address. However, only one of them will be bound so metadata agent should provide resilience to such scenario by attending only to those.

I posted a patch for review to master branch:

https://review.opendev.org/c/openstack/neutron/+/787337

Comment 10 Roman Safronov 2021-08-02 17:39:34 UTC
Verified that puddle RHOS-16.1-RHEL-8-20210727.n.1 contains python3-networking-ovn-7.3.1-1.20210714143305.4e24f4c.el8ost.noarch which includes the fix.

Comment 21 errata-xmlrpc 2021-12-09 20:19:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3762