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

BYOH node upgrade failed when the node not in default namespace: deleting node winhost\nF0402 08:53:43.066039 4740 cleanup.go:56] nodes \"winhost\" is forbidden: User \"system:serviceaccount:winc-namespace-test:windows-instance-config-daemon\"

    XMLWordPrintable

Details

    • No
    • 0
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-11259. The following is the description of the original issue:

      Description of problem: After a successful upgrade from version v7.0.1-3 where a BYOH node is configured the upgrade of that BYOH node failed with that error

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

      windows-services-8.0.0-e17e380 windows-machine-config-operator-bundle-container-v8.0.0-38

      How reproducible:

       

      Steps to Reproduce:

      1. Bootstrap a cluster in vSphere with 1 machineset node
      2. Install a BYOH node: e.g. configure a Windows server 2022, configure SSH, copy user-data, add the node to windows-instances  
      3. upgrade to latest 4.13 WMCO image

      Actual results:

      Machineset upgrade successful changed BYOH node upgrade failed winhost                           NotReady,SchedulingDisabled   worker                 5h49m   v1.25.0-2653+a34b9e9499e6c3

      Expected results:

      BYOH node upgrade successful as well 

      Additional info:

       oc describe cm windows-services-8.0.0-e17e380 -n winc-namespace-test
      Name:         windows-services-8.0.0-e17e380
      Namespace:    winc-namespace-test
      Labels:       <none>
      Annotations:  <none>Data
      ====
      files:
      ----
      []
      services:
      ----
      [{"name":"containerd","path":"C:\\k\\containerd\\containerd.exe --config C:\\k\\containerd\\containerd_conf.toml --log-file C:\\var\\log\\containerd\\containerd.log --run-service --log-level info","powershellPreScripts":[{"path":"C:\\Temp\\windows-defender-exclusion.ps1 -BinPath C:\\k\\containerd\\containerd.exe"}],"bootstrap":true,"priority":0},{"name":"kubelet","path":"C:\\k\\kube-log-runner.exe -log-file=C:\\var\\log\\kubelet\\kubelet.log C:\\k\\kubelet.exe --config=C:\\k\\kubelet.conf --bootstrap-kubeconfig=C:\\k\\bootstrap-kubeconfig --kubeconfig=C:\\k\\kubeconfig --cert-dir=c:\\var\\lib\\kubelet\\pki\\ --windows-service --register-with-taints=os=Windows:NoSchedule --node-labels=node.openshift.io/os_id=Windows --container-runtime=remote --container-runtime-endpoint=npipe://./pipe/containerd-containerd --resolv-conf= --v=2 --cloud-provider=external","dependencies":["containerd"],"bootstrap":true,"priority":1},{"name":"windows_exporter","path":"C:\\k\\windows_exporter.exe --collectors.enabled cpu,cs,logical_disk,net,os,service,system,textfile,container,memory,cpu_info","bootstrap":false,"priority":2},{"name":"hybrid-overlay-node","path":"C:\\k\\hybrid-overlay-node.exe --node NODE_NAME --k8s-kubeconfig C:\\k\\kubeconfig --windows-service --logfile C:\\var\\log\\hybrid-overlay\\hybrid-overlay.log --hybrid-overlay-vxlan-port 9898","nodeVariablesInCommand":[{"name":"NODE_NAME","nodeObjectJsonPath":"{.metadata.name}"}],"dependencies":["kubelet"],"bootstrap":false,"priority":2},{"name":"kube-proxy","path":"C:\\k\\kube-log-runner.exe -log-file=C:\\var\\log\\kube-proxy\\kube-proxy.log C:\\k\\kube-proxy.exe --windows-service --proxy-mode=kernelspace --feature-gates=WinOverlay=true --hostname-override=NODE_NAME --kubeconfig=C:\\k\\kubeconfig --cluster-cidr=NODE_SUBNET --network-name=OVNKubernetesHybridOverlayNetwork --source-vip=ENDPOINT_IP --enable-dsr=false --v=2","nodeVariablesInCommand":[{"name":"NODE_NAME","nodeObjectJsonPath":"{.metadata.name}"},{"name":"NODE_SUBNET","nodeObjectJsonPath":"{.metadata.annotations.k8s\\.ovn\\.org/hybrid-overlay-node-subnet}"}],"powershellPreScripts":[{"variableName":"ENDPOINT_IP","path":"C:\\Temp\\network-conf.ps1"}],"dependencies":["hybrid-overlay-node"],"bootstrap":false,"priority":3}]BinaryData
      

      Attachments

        Issue Links

          Activity

            People

              team-winc Team WinC
              openshift-crt-jira-prow OpenShift Prow Bot
              Aharon Rasouli Aharon Rasouli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: