Hide Forgot
Description of problem: When scaling process failed due to resource restrictions, it will stop to create new pods, instead of always showing "scaling to 11...." it's better to give warning info telling quota/limit exceed Version-Release number of selected component (if applicable): openshift v1.3.0-rc1+7bb3e69 kubernetes v1.3.0+52492b4 etcd 2.3.0+git How reproducible: Always Steps to Reproduce: 1.Create quota and limits for project "test" # oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/project-quota/quota.yaml -n test # oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/project-quota/limits.yaml -n test 2.Create DC for project "test" # oc run testdc --image=aosqe/hello-openshift 3.Wait deployment complete 4.Scale DC # oc scale dc/testdc --replicas=11 5.Check RC testdc-1 events on web console, after creating 7 pods, server could not create more pods since quota exceed Error creating: pods "testdc-1-" is forbidden: Exceeded quota: quota, requested: memory=100Mi, used: memory=700Mi, limited: memory=750Mi 6.Check pods on overview page Actual results: 6. It keeps show "scaling to 11...." in pod donut text Expected results: 6. Since no more pods could be created due to quota restrictions, it's better to give warning info telling quota exceed instead of always showing "scaling to 11...." Additional info:
Created attachment 1200764 [details] AlwaysScaling
With the quota warnings we did this release we have fixed this issue.
Only one Resource type is used up, a quota warning will be displayed If requested resource is larger than remaining quota, it still show "scaling to 11..." although pods will not be created, after talking with yanpzhan, I got to know this is working by design, so move to VERIFIED