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

After removing autoscalers pod events still show "pod didn't trigger scale-up"

    XMLWordPrintable

Details

    • CLOUD Sprint 228, CLOUD Sprint 229
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      In an OSD cluster running OCP v. 4.10.33, after having removed all MachineAutoscalers (by deleting all machine pools with autoscaling enabled), trying to schedule a pod for which there's not enough resources available on the cluster will still trigger a "pod didn't trigger scale-up" event.
      This event does not have a reason for why the scale up was possible, like it usually would have.

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

      OCP v. 4.10.33

      How reproducible:

      Always

      Steps to Reproduce:

      1.Try to schedule a pod that requests too many resources, confirm that you *don't* see "pod didn't trigger scale-up" in the events
      1. Create MachineAutoscaler / Machine Pool with autoscaling enabled in OCP cluster
      2. Try to schedule a pod that requests too many resources, confirm that you see "pod didn't trigger scale-up" in the events
      3. Remove MachineAutoscaler/machine pool from cluster
      4. Try to schedule a pod that requests too many resources, confirm that you *still* see "pod didn't trigger scale-up" in the events, although without any explicit error 

      Actual results:

      scale up event is always shown after having had an autoscaling machine pool defined in the cluster, even after the pool is removed

      Expected results:

      Scale up event should not be shown since there are no MachineAutoscalers in the cluster. The even is misleading.

      Additional info:

      See attached files for Events before/after removing the autoscaler

      Attachments

        1. 1.png
          1.png
          75 kB
        2. 2.png
          2.png
          102 kB

        Activity

          People

            mimccune@redhat.com Michael McCune
            rhn-support-lgiorgi Luca Giorgi
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: