Bug 1882037

Summary: exgw ignores ovn networked pods during pod update
Product: OpenShift Container Platform Reporter: Tim Rozet <trozet>
Component: NetworkingAssignee: Tim Rozet <trozet>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: kholtz, pibanezr
Version: 4.6Keywords: UpcomingSprint
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:44:57 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:

Description Tim Rozet 2020-09-23 16:15:22 UTC
Description of problem:
When using a pod as an external gateway, we support either the pod being host networked or using a multus network attachment definition to describe the network interface being use to reach the gateway on the external network. For an ovn networked pod annotated to serve as an external gateway, it requires a multus provided network attachment definition. However this attachment definition is only provided after initial pod add, meaning the pod must be updated with the correct exgw annotations.

The bug is that when we update the pod with the correct exgw annotations, the pod never gets added as an exgw pod. This is because in our update path we were incorrectly ignoring any pod that is not host networked.

Comment 5 errata-xmlrpc 2020-10-27 16:44:57 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196