Details
-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.10
-
None
-
CLOUD Sprint 228, CLOUD Sprint 229
-
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