Bug 1890274 - [4.6] External IP doesn't work if the IP address is not assigned to a node
Summary: [4.6] External IP doesn't work if the IP address is not assigned to a node
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.6.z
Assignee: Tim Rozet
QA Contact: Weibin Liang
Depends On: 1890270
TreeView+ depends on / blocked
Reported: 2020-10-21 19:22 UTC by Tim Rozet
Modified: 2021-02-08 13:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1890270
Last Closed: 2021-02-08 13:50:49 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 354 0 None closed Bug 1890274: Fixes External IP with local gateway mode 2021-02-05 18:31:44 UTC
Red Hat Product Errata RHSA-2021:0308 0 None None None 2021-02-08 13:51:09 UTC

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 via dev br-ex
[root@weliang22-rswpm-compute-0 /]# curl -k
[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.


Note You need to log in before you can comment on or make changes to this bug.