Bug 1833441 - WSU fails as OVN hybrid naming has changed
Summary: WSU fails as OVN hybrid naming has changed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Windows Containers
Version: 4.4
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: 4.4.z
Assignee: Aravindh Puthiyaparambil
QA Contact: gaoshang
URL:
Whiteboard:
Depends On: 1823919
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-08 16:43 UTC by Aravindh Puthiyaparambil
Modified: 2020-06-02 11:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1823919
Environment:
Last Closed: 2020-06-02 11:18:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift windows-machine-config-bootstrapper pull 199 0 None closed Bug 1833441: [release-4.4] Backport from master 05-13-2020 2020-06-18 14:27:44 UTC
Red Hat Product Errata RHBA-2020:2310 0 None None None 2020-06-02 11:19:09 UTC

Comment 1 gaoshang 2020-05-21 06:18:46 UTC
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

Comment 4 errata-xmlrpc 2020-06-02 11:18:33 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, 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


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