Bug 1952914 - LoadBalancer Service type with invalid external loadbalancer IP breaks the datapath
Summary: LoadBalancer Service type with invalid external loadbalancer IP breaks the da...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Windows Containers
Version: 4.7
Hardware: x86_64
OS: Windows
high
high
Target Milestone: ---
: 4.8.0
Assignee: Aravindh Puthiyaparambil
QA Contact: Ronnie Rasouli
URL:
Whiteboard:
: 1883628 (view as bug list)
Depends On:
Blocks: 1952917
TreeView+ depends on / blocked
 
Reported: 2021-04-23 14:38 UTC by Aravindh Puthiyaparambil
Modified: 2021-08-03 20:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: empty IP address value in the load balancer ingress IP field is breaking the data path. Consequence: Kube proxy doesn't honor the ingress IP address being empty and plumbs an invalid HNS policy. Fix: The fix prevents the plumbing of such invalid HNS policy. Result: Data path is no longer broken
Clone Of:
: 1952917 (view as bug list)
Environment:
Last Closed: 2021-08-03 20:29:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubernetes kubernetes issues 99964 0 None closed [Windows Kube-proxy]LoadBalancer Service type with invalid external loadbalancer IP breaks the datapath 2021-04-23 14:57:21 UTC
Github openshift windows-machine-config-operator pull 395 0 None closed WINC-593: Build kube-proxy from the SDN branch 2021-04-23 14:39:44 UTC
Red Hat Product Errata RHSA-2021:3001 0 None None None 2021-08-03 20:29:49 UTC

Comment 1 Ronnie Rasouli 2021-04-25 10:49:44 UTC
Verified on Server Version: 4.8.0-0.nightly-2021-04-24-234710

Service is accessible on port 80
[cloud-user@PSI-VM ~]> get all': oc get all
NAME                                                   READY   STATUS    RESTARTS   AGE
pod/linux-webserver-7bbd7888f9-dhstg                   1/1     Running   0          4m24s
pod/win-webserver-549cd7495d-27r2z                     1/1     Running   0          4m25s
pod/windows-machine-config-operator-758d956b55-2kd4n   1/1     Running   0          61m

NAME                       TYPE           CLUSTER-IP       EXTERNAL-IP                                                               PORT(S)          AGE
service/linux-webserver    LoadBalancer   172.30.94.81     a58f90c7b7dc24962a45b2bc804a061e-830460262.us-east-2.elb.amazonaws.com    8080:32183/TCP   4m25s
service/win-webserver      LoadBalancer   172.30.220.105   ad2c56da58c8443d9b1a04bbe71fea4b-1299429112.us-east-2.elb.amazonaws.com   80:30189/TCP     4m25s
service/windows-exporter   ClusterIP      172.30.197.228   <none>                                                                    9182/TCP         61m

NAME                                              READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/linux-webserver                   1/1     1            1           4m26s
deployment.apps/win-webserver                     1/1     1            1           4m26s
deployment.apps/windows-machine-config-operator   1/1     1            1           61m

NAME                                                         DESIRED   CURRENT   READY   AGE
replicaset.apps/linux-webserver-7bbd7888f9                   1         1         1       4m26s
replicaset.apps/win-webserver-549cd7495d                     1         1         1       4m26s
replicaset.apps/windows-machine-config-operator-758d956b55   1         1         1       61m

[cloud-user@PSI-VM ~]>curl ad2c56da58c8443d9b1a04bbe71fea4b-1299429112.us-east-2.elb.amazonaws.com
<html><body><H1>Windows Container Web Server</H1></body></html>[cloud-user@PSI-VM ~]>oc exec pod/win-webserver-549cd7495d-27r2z -- curl 172.30.220.105
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    63  100    63    0     0     63      0  0:00:01 --:--:--  0:00:01 63000<html><body><H1>Windows Container Web Server</H1></body></html>
[cloud-user@PSI-VM ~]>oc exec pod/linux-webserver-7bbd7888f9-dhstg -- curl 172.30.220.105
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    63  100    63    0     0  15750      0 --:--:-- --:--:-- --:--:-- 15750<html><body><H1>Windows Container Web Server</H1></body></html>

Comment 2 Aravindh Puthiyaparambil 2021-05-03 21:41:17 UTC
*** Bug 1883628 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2021-08-03 20:29:16 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 (Moderate: Red Hat OpenShift Container Platform for Windows Containers 3.0.0 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:3001


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