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

Scaling nodepool to 6, nodes fails, although 6 agents are available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.14
    • HyperShift / Agent
    • None
    • Important
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Scaling nodepool to 6 nodes fails, only 5 nodes are deployed although 6 agents are available   

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

      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc version
      Client Version: 4.14.0-0.nightly-2024-01-15-085353
      Kustomize Version: v5.0.1
      Server Version: 4.14.9
      Kubernetes Version: v1.27.9+5c56cc3
      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc get hc -A --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig
      NAMESPACE   NAME       VERSION   KUBECONFIG                  PROGRESS    AVAILABLE   PROGRESSING   MESSAGE
      clusters    hosted-0   4.14.9    hosted-0-admin-kubeconfig   Completed   True        False         The hosted control plane is available
      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ 
      
      
      Updated hypershift operator version to : https://quay.io/repository/hypershift/hypershift-operator/manifest/sha256:6ffead94e14d7aa56e4fd9adb9e45e337c1b32a3fc191c10a5c1306c3990fc9f
          

      How reproducible:

      Happens sometimes     

      Steps to Reproduce:

          1.Deploy a hub cluster, and on it hosted cluster with 6 nodes , agent provider.   
          2.I ran this automation test, but manually you can scale 6->1->2  https://gitlab.cee.redhat.com/ocp-edge-qe/ocp-edge-auto/-/blob/master/edge_tests/deployment/installer/scale/test_scale_nodepool.py?ref_type=heads#L43
      
          3. scale to 6 nodes.
          

      Actual results:

          (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc get nodepool -n clusters --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig -o wide
      NAME       CLUSTER    DESIRED NODES   CURRENT NODES   AUTOSCALING   AUTOREPAIR   VERSION   UPDATINGVERSION   UPDATINGCONFIG   MESSAGE
      hosted-0   hosted-0   6               5               False                      4.14.9                                       Minimum availability requires 6 replicas, current 5 available
      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc get agent -A --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig
      NAMESPACE   NAME                                   CLUSTER    APPROVED   ROLE     STAGE
      hosted-0    32d99431-1689-482f-b08b-5ebdb7f75202   hosted-0   true       worker   Done
      hosted-0    46fef72c-c79d-4d7b-a2de-671297df3933   hosted-0   true       worker   Done
      hosted-0    7b27b7a8-b144-4e63-8040-4e3b1ef4e81e   hosted-0   true       worker   Done
      hosted-0    83ecdccb-f3b7-4892-ae13-633eae15d067   hosted-0   true       worker   Done
      hosted-0    84707a32-f406-4158-966f-876845d00902   hosted-0   true       worker   Done
      hosted-0    a7d3d1a9-e224-42d0-b282-76b1957144ac              true       worker   
      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ 
      

      Expected results:

        (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc get nodepool -n clusters --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig -o wide
      NAME       CLUSTER    DESIRED NODES   CURRENT NODES   AUTOSCALING   AUTOREPAIR   VERSION   UPDATINGVERSION   UPDATINGCONFIG   MESSAGE
      hosted-0   hosted-0   6               6               False                      4.14.9                                       
      
      (.venv) [kni@ocp-edge77 ocp-edge-auto_cluster]$ oc get agent -A --kubeconfig ~/clusterconfigs/auth/hub-kubeconfig
      NAMESPACE   NAME                                   CLUSTER    APPROVED   ROLE     STAGE
      hosted-0    32d99431-1689-482f-b08b-5ebdb7f75202   hosted-0   true       worker   Done
      hosted-0    46fef72c-c79d-4d7b-a2de-671297df3933   hosted-0   true       worker   Done
      hosted-0    7b27b7a8-b144-4e63-8040-4e3b1ef4e81e   hosted-0   true       worker   Done
      hosted-0    83ecdccb-f3b7-4892-ae13-633eae15d067   hosted-0   true       worker   Done
      hosted-0    84707a32-f406-4158-966f-876845d00902   hosted-0   true       worker   Done
      hosted-0    a7d3d1a9-e224-42d0-b282-76b1957144ac   hosted-0   true       worker   Done
      
        

      Additional info:

          

            cchun@redhat.com Crystal Chun
            rhn-support-gamado Gal Amado
            Gal Amado Gal Amado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: