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.
@weliang Can you help looking at it? Thanks
Tested and verified in 4.7.0-0.nightly-2020-11-18-203317 [root@weliang24-r2gd5-lb ~]# ip route default via 10.0.99.254 dev eth0 proto dhcp metric 100 10.0.96.0/22 dev eth0 proto kernel scope link src 10.0.96.54 metric 100 10.1.1.1 via 10.0.96.192 dev eth0 169.254.169.254 via 10.0.96.161 dev eth0 proto dhcp metric 100 [root@weliang24-r2gd5-lb ~]# curl -k 10.1.1.1:27018 externalip-pod [root@weliang24-r2gd5-lb ~]#
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633