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

"Node Drain Timeout" is missing from nodepool spec

XMLWordPrintable

    • Important
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         after creating a hosted cluster with kubvirt provider, the nodepool is missing "Node Drain Timeout" param from its spec.
      
      

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

          (.venv) [kni@ocp-edge119 ocp-edge-auto_cluster]$ oc version
      Client Version: 4.14.14
      Kustomize Version: v5.0.1
      Server Version: 4.14.21
      Kubernetes Version: v1.27.11+ec42b99
      
      
      (.venv) [kni@ocp-edge119 ocp-edge-auto_cluster]$ /var/lib/jenkins/workspace/ocp-hypershift-cnv/clusterconfigs/hypershift -v
      hypershift version openshift/hypershift: 83a47ba66963021ebbcec2e22fd3a3bcabea3339. Latest supported OCP: 4.14.0
      

      How reproducible:

      100%

      Steps to Reproduce:

          1.I ran this test that failed in test_scale_down_to_0_nodepool timeout fr 30 min.https://auto-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/CI/job/job-runner/2626/
      
          2.but manually you could create a cluster with --node-drain-timeout=10m 
      for example : 
      hypershift create cluster kubevirt --name hyper-1 --node-pool-replicas=2 --node-drain-timeout=10m --root-volume-size 64 --memory 16Gi --control-plane-availability-policy HighlyAvailable --infra-availability-policy HighlyAvailable --release-image=quay.io/openshift-release-dev/ocp-release@sha256:6e3fba19a1453e61f8846c6b0ad3abf41436a3550092cbfd364ad4ce194582b7 --pull-secret /var/lib/jenkins/workspace/ocp-hypershift-cnv/clusterconfigs/combined-secret.json --ssh-key /var/lib/jenkins/workspace/ocp-hypershift-cnv/clusterconfigs/id_rsa.pub
      (as done in this job : https://auto-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-hypershift-cnv/495//console#:~:text=hypershift%20create%20cluster,clusterconfigs/id_rsa.pub) 
      
              

      Actual results:

         [kni@ocp-edge119 ~]$ oc describe nodepool hyper-1 -n clusters --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig | grep Drain
      [kni@ocp-edge119 ~]$ 
      

      Expected results:

         [kni@ocp-edge119 ~]$ oc describe nodepool hyper-1 -n clusters --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig | grep Drain   
       Node Drain Timeout:     10m
       

      Additional info:

          

              ocohen@redhat.com Oren Cohen
              rhn-support-gamado Gal Amado
              Liangquan Li Liangquan Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: