Description of problem: When edit quota spec, the quota status can be calculated ASAP. On upstream it can be updated ASAP. Version-Release number of selected component (if applicable): openshift v1.1.3-337-g5df15c9 kubernetes v1.2.0-alpha.7-703-gbc4550d etcd 2.2.5 How reproducible: Always Steps to Reproduce: 1.Create one quota [root@ip-172-18-14-46 origin]# cat quota.yaml apiVersion: v1 kind: ResourceQuota metadata: name: myquota-1 spec: hard: cpu: "50m" memory: 16Gi persistentvolumeclaims: "20" pods: "20" replicationcontrollers: "30" resourcequotas: "1" secrets: "15" services: "10" $ oc create -f quota.yaml -n dma 2.Check quota status [root@ip-172-18-14-46 origin]# oc describe quota/myquota-1 -n dma Name: myquota-1 Namespace: dma Resource Used Hard -------- ---- ---- cpu 0 50m memory 0 16Gi persistentvolumeclaims 0 20 pods 0 20 replicationcontrollers 0 30 resourcequotas 1 1 secrets 9 15 services 0 10 3.Edit the quota spec with some change $ oc edit quota/myquota-1 -n dma 4.Check the quota status again. $ oc describe quota/myquota-1 -n dma Actual results: 4.Wait a long time before the quota status is changed. Expected results: 4.The quota status should be changed ASAP Additional info:
Marking the priority low, but will investigate root cause.
I am no longer able to reproduce this problem on the following: oc v3.6.0-alpha.1+90592c5-1003-dirty kubernetes v1.6.1+5115d708d7 features: Basic-Auth Server https://192.168.0.24:8443 openshift v3.6.0-alpha.1+90592c5-1003-dirty kubernetes v1.6.1+5115d708d7
Verify on openshift v3.6.94. can't reproduce. [root@qe-dma36-master-1 ~]# oadm new-project dma Created project dma [root@qe-dma36-master-1 ~]# oc create -f quota.yaml -n dma resourcequota "myquota-1" created [root@qe-dma36-master-1 ~]# oc describe quota/myquota-1 -n dma Name: myquota-1 Namespace: dma Resource Used Hard -------- ---- ---- cpu 0 50m memory 0 16Gi persistentvolumeclaims 0 20 pods 0 20 replicationcontrollers 0 30 resourcequotas 1 1 secrets 9 15 services 0 10 [root@qe-dma36-master-1 ~]# oc edit quota/myquota-1 -n dma resourcequota "myquota-1" edited [root@qe-dma36-master-1 ~]# oc describe quota/myquota-1 -n dma Name: myquota-1 Namespace: dma Resource Used Hard -------- ---- ---- cpu 0 50m memory 0 10Gi persistentvolumeclaims 0 5 pods 0 15 replicationcontrollers 0 15 resourcequotas 1 4 secrets 9 20 services 0 30