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

Cluster Autoscaler scale-up wrong machineSets and the pending pods remain as Pending

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.12.z
    • Cluster Autoscaler
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Having several machineSets with taints configured and one of them does not have any taint.
      
      Run a workload without toletarions (to prevent it from running on the nodes of the rest of the machineSets) and only scheduling possibilities are the "no-taints" machineSet.
      
      When you need more pods and the new ones appears as Pending, the clusterAutoscaler scale-up the wrong machineSet until new nodes are running, trigering a new scale-up activity until a valid node is ready (randomly??)

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

      ROSA 4.12.35

      How reproducible:

      Always

      Steps to Reproduce:

      4.12 ROSA Cluster
      Additional machineSet with taints
      A deployment (no nodeSelector, no tolerations) with high resource request
      Scale the deployment to have some pending pods
      
      The AutoScaler scale-up the additional machineSet and the new node can't be used by your workload 

      Actual results:

      The pending pod can run after some scale-up activities, generating unneeded nodes

      Expected results:

      Scale-up the right machineSet where the pod will be able to be scheduled

       

              mimccune@redhat.com Michael McCune
              dafernan@redhat.com Daniel Fernandez (Inactive)
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: