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

Bug 1942628

Summary: LB service unstable with multiple Windows nodes and pods
Product: OpenShift Container Platform Reporter: Sebastian Soto <ssoto>
Component: Windows ContainersAssignee: Sebastian Soto <ssoto>
Status: CLOSED CURRENTRELEASE QA Contact: gaoshang <sgao>
Severity: high Docs Contact:
Priority: high    
Version: 4.6.zCC: anusaxen, aos-bugs, aravindh, dcbw, gmarkley, pmahajan, rgudimet, sdodson, sgao, ssoto, zzhao
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: 1905950
: 1942630 (view as bug list) Environment:
Last Closed: 2021-04-16 15:48:20 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: 1905950    
Bug Blocks: 1942630    

Comment 1 Sebastian Soto 2021-03-24 16:15:16 UTC
This should not be a problem on 4.7 clusters

Comment 2 gaoshang 2021-03-25 10:45:31 UTC
This bug has been verified and passed on OCP 4.7, thanks.

Version:
OCP: 4.7.0-0.nightly-2021-03-25-045200
WMCO: 2.0.0+9cfb5c1

Steps:
1, When Windows pods land on different Windows node, check LB service works well.

# oc get nodes -owide -l kubernetes.io/os=windows
NAME            STATUS   ROLES    AGE   VERSION                       INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                         KERNEL-VERSION    CONTAINER-RUNTIME
windows-5862d   Ready    worker   34m   v1.20.0-1030+cac2421340a449   10.0.32.7     <none>        Windows Server 2019 Datacenter   10.0.17763.1817   docker://19.3.14
windows-zbfst   Ready    worker   29m   v1.20.0-1030+cac2421340a449   10.0.32.8     <none>        Windows Server 2019 Datacenter   10.0.17763.1817   docker://19.3.14

# oc get pod -owide
NAME                               READY   STATUS    RESTARTS   AGE   IP            NODE                                 NOMINATED NODE   READINESS GATES
win-webserver-549cd7495d-48snw     1/1     Running   0          20m   10.132.0.3    windows-5862d                        <none>           <none>
win-webserver-549cd7495d-6ghv6     1/1     Running   0          20m   10.132.1.2    windows-zbfst                        <none>           <none>
win-webserver-549cd7495d-6vqq5     1/1     Running   0          20m   10.132.0.4    windows-5862d                        <none>           <none>
win-webserver-549cd7495d-f9bfm     1/1     Running   0          20m   10.132.0.2    windows-5862d                        <none>           <none>
win-webserver-549cd7495d-hzvtq     1/1     Running   0          20m   10.132.1.3    windows-zbfst                        <none>           <none>


# oc get service
NAME              TYPE           CLUSTER-IP       EXTERNAL-IP     PORT(S)        AGE
win-webserver     LoadBalancer   172.30.155.201   52.230.218.37   80:32406/TCP   21m

# curl 52.230.218.37
<html><body><H1>Windows Container Web Server</H1></body></html>

# ./curlloop.sh 52.230.218.37
Attempt 1 06:43:12- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 2 06:43:12- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 3 06:43:12- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 4 06:43:12- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 5 06:43:12- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 6 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 7 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 8 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 9 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 10 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 11 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 12 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 13 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 14 06:43:13- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 15 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 16 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 17 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 18 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 19 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 20 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 21 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 22 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 23 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 24 06:43:14- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 25 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 26 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 27 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 28 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 29 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 30 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 31 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 32 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 33 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 34 06:43:15- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 35 06:43:16- infinite loops [ hit CTRL+C to stop]
<html><body><H1>Windows Container Web Server</H1></body></html>Attempt 36 06:43:16- infinite loops [ hit CTRL+C to stop]