Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1890274

Summary: [4.6] External IP doesn't work if the IP address is not assigned to a node
Product: OpenShift Container Platform Reporter: Tim Rozet <trozet>
Component: NetworkingAssignee: Tim Rozet <trozet>
Networking sub component: ovn-kubernetes QA Contact: Weibin Liang <weliang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: anusaxen, bbennett, nicolas.marcq
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1890270 Environment:
Last Closed: 2021-02-08 13:50:49 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: 1890270    
Bug Blocks:    

Description Tim Rozet 2020-10-21 19:22:58 UTC
+++ This bug was initially created as a clone of Bug #1890270 +++

Description of problem:
With external IP the address may not live on any node. In this case when the packet arrives at any master/worker node (with the destination address of the external IP) it should be routed into OVN. This is currently broken and the route that gets injected into the host is incorrect.

Comment 3 Weibin Liang 2021-02-02 19:42:33 UTC
[root@weliang22-rswpm-compute-0 /]# ip route add 22.2.2.1/32 via 10.0.97.73 dev br-ex
[root@weliang22-rswpm-compute-0 /]# curl -k 22.2.2.1:27018
externalip-pod
[root@weliang22-rswpm-compute-0 /]# 
Removing debug pod ...
Removing debug namespace/openshift-debug-node-lcj5l ...
[weliang@weliang verification-tests]$ oc get clusterversions
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.6.0-0.nightly-2021-01-30-211400   True        False         4h52m   Cluster version is 4.6.0-0.nightly-2021-01-30-211400
[weliang@weliang verification-tests]$

Comment 5 errata-xmlrpc 2021-02-08 13:50:49 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 (Important: OpenShift Container Platform 4.6.16 security and 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/RHSA-2021:0308