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

[azure 2019]After deleting the BYOH node ConfigMap, the node is not being deconfigured and deleted as expected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.19
    • Windows Containers
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • None
    • None
    • None
    • None
    • WINC - Sprint 276, WINC - Sprint 277
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          

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

          

      How reproducible:

       

      Steps to Reproduce:

      1. Successfully create a 2019 BYOH node.
      2. Delete the BYOH node ConfigMap.
      
      
      

      Actual results:

          The BYOH node was neither deconfigured nor deleted after the ConfigMap was removed.
      

      Expected results:

          The BYOH node should be deconfigured and subsequently deleted after the ConfigMap is removed.
      

      Additional info:

          
      sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T12:39:24Z","logger":"controllers.configmap","msg":"processing","instances in":"windows-instances"}
      {"level":"info","ts":"2025-07-18T12:39:35Z","logger":"nc 10.0.128.10","msg":"deconfiguring"}
      {"level":"info","ts":"2025-07-18T12:39:35Z","logger":"wc 10.0.128.10","msg":"deconfigured","service":"windows-instance-config-daemon"}
      {"level":"error","ts":"2025-07-18T12:40:33Z","msg":"Reconciler error","controller":"node","controllerGroup":"","controllerKind":"Node","Node":{"name":"windows-tvdqx"},"namespace":"","name":"windows-tvdqx","reconcileID":"84f478f5-1440-45ec-8e36-5244241b9f77","error":"failed to create new nodeconfig: error instantiating Windows instance from VM: unable to setup VM 10.0.128.9 sshConnectivity: error instantiating SSH client: unable to connect to Windows VM 10.0.128.9: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T12:41:53Z","logger":"wc 10.0.128.10","msg":"rebooting instance"}
      {"level":"error","ts":"2025-07-18T12:50:03Z","msg":"Reconciler error","controller":"controllerconfig","controllerGroup":"machineconfiguration.openshift.io","controllerKind":"ControllerConfig","ControllerConfig":{"name":"machine-config-controller"},"namespace":"","name":"machine-config-controller","reconcileID":"0be7981b-e0b9-4f7e-aae1-2585de6fd003","error":"error updating kubelet CA certificate in node windows-tvdqx: error creating nodeConfig for instance 10.0.128.9: error instantiating Windows instance from VM: unable to setup VM 10.0.128.9 sshConnectivity: error instantiating SSH client: unable to connect to Windows VM 10.0.128.9: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T12:50:11Z","logger":"controllers.controllerconfig","msg":"updating kubelet CA client certificates in","node":"windows-ksgtl"}
      {"level":"error","ts":"2025-07-18T12:51:45Z","msg":"Reconciler error","controller":"configmap","controllerGroup":"","controllerKind":"ConfigMap","ConfigMap":{"name":"windows-instances","namespace":"openshift-windows-machine-config-operator"},"namespace":"openshift-windows-machine-config-operator","name":"windows-instances","reconcileID":"3fcd46eb-4912-4aec-99e7-6d520e63b015","error":"error removing undesired nodes from cluster: unable to deconfigure instance with node byoh-klfcn: timeout waiting for windowsmachineconfig.openshift.io/reboot-required to be cleared: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T12:51:45Z","logger":"controllers.configmap","msg":"processing","instances in":"windows-instances"}
      {"level":"error","ts":"2025-07-18T12:54:37Z","msg":"Reconciler error","controller":"machine","controllerGroup":"machine.openshift.io","controllerKind":"Machine","Machine":{"name":"windows-tvdqx","namespace":"openshift-machine-api"},"namespace":"openshift-machine-api","name":"windows-tvdqx","reconcileID":"d7b06ee5-1872-4e0f-b2bb-851d45ee6764","error":"unable to configure instance windows-tvdqx: failed to create new nodeconfig: error instantiating Windows instance from VM: unable to setup VM 10.0.128.9 sshConnectivity: error instantiating SSH client: unable to connect to Windows VM 10.0.128.9: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T12:54:58Z","logger":"controller.windowsmachine","msg":"processing","windowsmachine":{"name":"windows-tvdqx","namespace":"openshift-machine-api"},"address":"10.0.128.9"}
      {"level":"error","ts":"2025-07-18T12:58:26Z","msg":"Reconciler error","controller":"node","controllerGroup":"","controllerKind":"Node","Node":{"name":"byoh-klfcn"},"namespace":"","name":"byoh-klfcn","reconcileID":"8642a614-7b64-4793-b8f3-1e003a09f195","error":"full instance reboot failed: error reinitializing SSH connection after VM reboot: failed to reinitialize ssh client: unable to connect to Windows VM 10.0.128.10: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"error","ts":"2025-07-18T13:06:42Z","msg":"Reconciler error","controller":"controllerconfig","controllerGroup":"machineconfiguration.openshift.io","controllerKind":"ControllerConfig","ControllerConfig":{"name":"machine-config-controller"},"namespace":"","name":"machine-config-controller","reconcileID":"48bf1aa3-f705-4844-a231-5c6889903336","error":"error updating kubelet CA certificate in node windows-tvdqx: error creating nodeConfig for instance 10.0.128.9: error instantiating Windows instance from VM: unable to setup VM 10.0.128.9 sshConnectivity: error instantiating SSH client: unable to connect to Windows VM 10.0.128.9: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"error","ts":"2025-07-18T13:08:16Z","msg":"Reconciler error","controller":"configmap","controllerGroup":"","controllerKind":"ConfigMap","ConfigMap":{"name":"windows-instances","namespace":"openshift-windows-machine-config-operator"},"namespace":"openshift-windows-machine-config-operator","name":"windows-instances","reconcileID":"47ba8a46-6ace-486d-8e2e-5c3556334975","error":"error removing undesired nodes from cluster: unable to deconfigure instance with node windows-tvdqx: failed to create new nodeconfig: error instantiating Windows instance from VM: unable to setup VM 10.0.128.9 sshConnectivity: error instantiating SSH client: unable to connect to Windows VM 10.0.128.9: timed out waiting for the condition","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/build/windows-machine-config-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      {"level":"info","ts":"2025-07-18T13:08:16Z","logger":"controllers.configmap","msg":"processing","instances in":"windows-instances"}

              jvaldes@redhat.com Jose Valdes
              rhn-support-weinliu Weinan Liu
              None
              None
              Weinan Liu Weinan Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: