Bug 1928028

Summary: kuryr-cni binds to wrong interface on machine with two interfaces
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: NetworkingAssignee: MichaƂ Dulko <mdulko>
Networking sub component: kuryr QA Contact: GenadiC <gcheresh>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: ltomasbo, rheinzma, rlobillo
Version: 4.6.z   
Target Milestone: ---   
Target Release: 4.7.z   
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: 2021-03-25 01:53:01 UTC Type: ---
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: 1921184    
Bug Blocks: 1942862    
Attachments:
Description Flags
NP test results with the fix
none
conformance test results with the fix none

Comment 3 rlobillo 2021-03-16 09:36:54 UTC
Verified on 4.7.0-0.nightly-2021-03-14-223051 over OSP16.1 (RHOS-16.1-RHEL-8-20201214.n.3) with OVN-Octavia.

link_iface attribute is not harcoded on kuryr.conf anymore on kuryr-cni pod running on the worker.

$ oc debug nodes/ostest-9pjjw-worker-0-79bvs
Starting pod/ostest-9pjjw-worker-0-79bvs-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.196.3.222
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host
sh-4.4# sudo crictl ps -a | grep kuryr-cni
3f90884a33a4f       207cb2ed64722382e211bf57110721f1217b03befbaf02d06104f054caea048d                                                             10 hours ago        Running             kuryr-cni                        2                   d8f8e2b8761fa
54e18b2d6ba97       207cb2ed64722382e211bf57110721f1217b03befbaf02d06104f054caea048d                                                             10 hours ago        Exited              kuryr-cni                        1                   d8f8e2b8761fa
sh-4.4# sudo crictl exec -it 3f90884a33a4f cat /etc/kuryr/kuryr.conf | grep link_iface
sh-4.4# 

NP tests and Conformance tests passed successfully. Logs attached.

Comment 4 rlobillo 2021-03-16 09:38:12 UTC
Created attachment 1763589 [details]
NP test results with the fix

Comment 5 rlobillo 2021-03-16 09:38:44 UTC
Created attachment 1763590 [details]
conformance test results with the fix

Comment 7 errata-xmlrpc 2021-03-25 01:53:01 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.7.3 bug fix update), 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:0821