Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-17731

[GCP] CNI plugin not initialised errors on Windows nodes post OVN IC merge

XMLWordPrintable

    • Important
    • No
    • SDN Sprint 240, SDN Sprint 241
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Not able to schedule any workload on window containers due to cni plugin not initialized errors reported by kubelet on windows nodes
      
      Tested on GCP 

      Version-Release number of selected component (if applicable):

      4.14.0-0.nightly-2023-08-15-115809

      How reproducible:

      Always

      Steps to Reproduce:

      1.Install OCP cluster with window nodes
      2.Schedule workload on window nodes
      3.
      

      Actual results:

      workload on win nodes fails to schedule

      Expected results:

      workload on win nodes should schedule successfully

      Additional info:

      kubelet reports such messages on win workers
      
      "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
      jfrancoa-1408-5pq2l-windows-worker-a-s4b8h I0814 14:43:34.963557    1172 setters.go:168] "Replacing cloudprovider-reported hostname with overridden hostname" cloudProviderHostname="jfrancoa-1408-5pq2l-w  - - -
      
      
      jfrancoa@jfrancoa-thinkpadp1gen4i ~]$ oc get events -n winc-test                                                                                                                    
      LAST SEEN   TYPE      REASON                 OBJECT                                MESSAGE                                                                                           63m         Warning   FailedScheduling       pod/win-webserver-66b77f88bc-2snsr    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untolerated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not helpful for scheduling..                                                                                                                                                             
      8m30s       Warning   FailedScheduling       pod/win-webserver-66b77f88bc-2snsr    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untolerated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not helpful for scheduling..                                                                                                                                                             63m         Warning   FailedScheduling       pod/win-webserver-66b77f88bc-57mvp    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not helpful for scheduling..                                                                                                                                                             8m30s       Warning   FailedScheduling       pod/win-webserver-66b77f88bc-57mvp    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untolerated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..                                                                  
      63m         Warning   FailedScheduling       pod/win-webserver-66b77f88bc-99wdf    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..                                                                                                                                                             
      8m30s       Warning   FailedScheduling       pod/win-webserver-66b77f88bc-99wdf    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..                                                                                                                                                             
      63m         Warning   FailedScheduling       pod/win-webserver-66b77f88bc-9g5hh    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..                                                                                                                                                             
      8m30s       Warning   FailedScheduling       pod/win-webserver-66b77f88bc-9g5hh    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..                                                                                                                                                             
      63m         Warning   FailedScheduling       pod/win-webserver-66b77f88bc-cfjv7    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..
      8m30s       Warning   FailedScheduling       pod/win-webserver-66b77f88bc-cfjv7    0/7 nodes are available: 2 node(s) didn't match Pod's node affinity/selector, 2 node(s) had untole
      rated taint {node.kubernetes.io/network-unavailable: }, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/7 nodes are available: 7 Preemption is not 
      helpful for scheduling..
      63m         Normal    SuccessfulCreate       replicaset/win-webserver-66b77f88bc   Created pod: win-webserver-66b77f88bc-99wdf
      63m         Normal    SuccessfulCreate       replicaset/win-webserver-66b77f88bc   Created pod: win-webserver-66b77f88bc-2snsr

            jtanenba@redhat.com Jacob Tanenbaum
            anusaxen Anurag Saxena
            Jose Luis Franco Arza Jose Luis Franco Arza (Inactive)
            Aharon Rasouli, Jose Luis Franco Arza (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: