Bug 1833441
| Summary: | WSU fails as OVN hybrid naming has changed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Aravindh Puthiyaparambil <aravindh> |
| Component: | Windows Containers | Assignee: | Aravindh Puthiyaparambil <aravindh> |
| Status: | CLOSED ERRATA | QA Contact: | gaoshang <sgao> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.4 | CC: | aos-bugs, aravindh, gmarkley, rgudimet, sgao |
| Target Milestone: | --- | ||
| Target Release: | 4.4.z | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1823919 | Environment: | |
| Last Closed: | 2020-06-02 11:18:33 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: | 1823919 | ||
| Bug Blocks: | |||
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, 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/RHBA-2020:2310 |
This bug has been verified and passed on OCP 4.4.0-0.nightly-2020-05-18-103425 with Azure/AWS, thanks. Version-Release number of selected component (if applicable): # oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.4.0-0.nightly-2020-05-18-103425 True False 24m Cluster version is 4.4.0-0.nightly-2020-05-18-103425 # git show commit 74e1245f0b4cd611ee8b5d5ce73150690107c17a Merge: 2c375f0 0eecc3b Author: OpenShift Merge Robot <openshift-merge-robot.github.com> Date: Thu May 14 21:00:31 2020 -0700 Merge pull request #199 from openshift/master [release-4.4] Backport from master 05-13-2020 Steps to Reproduce: 1. Bring up the OCP cluster with ovn-kubernetes 2. Bring up Windows node # make build-tools # ./wni azure create --kubeconfig cluster/auth/kubeconfig --credentials ~/.azure/osServicePrincipal.json --image-id MicrosoftWindowsServer:WindowsServer:2019-Datacenter-with-Containers:latest --instance-type Standard_D2s_v3 3. Configure inventory file and run wsu, check Windows node bootstrapped # ansible-playbook -i hosts ~/go/src/windows-machine-config-bootstrapper/tools/ansible/tasks/wsu/main.yaml -v ... PLAY RECAP ******************************************************************************************************************************************************************************************************** 52.142.21.119 : ok=34 changed=26 unreachable=0 failed=0 skipped=4 rescued=0 ignored=1 localhost : ok=27 changed=24 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 # oc get node -l kubernetes.io/os=windows NAME STATUS ROLES AGE VERSION winworker-yjcdq Ready worker 9m9s v1.17.1 4. Create Windows workload, check network works # oc create -f https://raw.githubusercontent.com/sgaoshang/winc-test/master/data/WinWebServer.yaml # oc create -f https://raw.githubusercontent.com/sgaoshang/winc-test/master/data/LinuxWebServer.yaml # oc get service -n default NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 172.30.0.1 <none> 443/TCP 69m linux-webserver ClusterIP 172.30.45.108 <none> 80/TCP 59s openshift ExternalName <none> kubernetes.default.svc.cluster.local <none> 58m win-webserver LoadBalancer 172.30.56.121 52.151.235.222 80:31461/TCP 64s # curl 52.151.235.222:80 <html><body><H1>Windows Container Web Server</H1></body></html>[root@sgaoos azure]# # oc get pod -owide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES linux-webserver-b8f4f8ff-559l8 1/1 Running 0 86s 10.129.2.9 sgao-m9j2z-worker-eastus3-vll2w <none> <none> win-webserver-6f5bdc5b95-rr4jw 1/1 Running 0 91s 10.132.0.2 winworker-yjcdq <none> <none> # oc exec linux-webserver-b8f4f8ff-559l8 curl 10.132.0.2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 63 100 63 0 0 15563 0 --:--:-- --:--:-- --:--:-- 21000<html><body><H1>Windows Container Web Server</H1></body></html> # oc exec win-webserver-6f5bdc5b95-rr4jw curl 10.129.2.9 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 27 100 27 0 0 27 0 0:00:01 --:--:-- 0:00:01 1687 Linux Container Web Server