Bug 1891532
Summary: | openshift-object-counts quota is not dynamically updating as the resource is deleted. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Lukasz Szaszkiewicz <lszaszki> |
Component: | kube-controller-manager | Assignee: | Lukasz Szaszkiewicz <lszaszki> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | aos-bugs, ggore, igreen, jokerman, knarra, lszaszki, maszulik, mfojtik, sthakare, sttts, yinzhou |
Target Milestone: | --- | ||
Target Release: | 4.4.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1891527 | Environment: | |
Last Closed: | 2021-01-13 18:14:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1891527 | ||
Bug Blocks: |
Comment 2
Lukasz Szaszkiewicz
2020-11-16 09:48:16 UTC
Confirmed with latest payload , the issue has fixed: [root@dhcp-140-138 ~]# oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.4.0-0.nightly-2020-12-04-062247 True False 10m Cluster version is 4.4.0-0.nightly-2020-12-04-062247 [root@dhcp-140-138 ~]# oc project zhouy Now using project "zhouy" on server "https://api.yinzhou1204-4.qe.devcluster.openshift.com:6443". [root@dhcp-140-138 ~]# oc create quota test1 --hard=openshift.io/imagestreams=10 resourcequota/test1 created [root@localhost ~]# oc describe quota test1 Name: test1 Namespace: zhouy Resource Used Hard -------- ---- ---- openshift.io/imagestreams 0 10 [root@localhost ~]# oc new-app httpd-example [root@localhost ~]# oc describe quota test1 Name: test1 Namespace: zhouy Resource Used Hard -------- ---- ---- openshift.io/imagestreams 1 10 [root@localhost ~]# oc get is NAME IMAGE REPOSITORY TAGS UPDATED httpd-example image-registry.openshift-image-registry.svc:5000/zhouy/httpd-example latest 38 seconds ago ruby-ex image-registry.openshift-image-registry.svc:5000/zhouy/ruby-ex [root@localhost ~]# oc describe quota test1 Name: test1 Namespace: zhouy Resource Used Hard -------- ---- ---- openshift.io/imagestreams 2 10 [root@localhost ~]# oc delete all --all pod "httpd-example-1-build" deleted pod "httpd-example-1-deploy" deleted pod "httpd-example-1-jl7ln" deleted pod "ruby-ex-1-build" deleted replicationcontroller "httpd-example-1" deleted service "httpd-example" deleted service "ruby-ex" deleted deploymentconfig.apps.openshift.io "httpd-example" deleted deploymentconfig.apps.openshift.io "ruby-ex" deleted buildconfig.build.openshift.io "httpd-example" deleted buildconfig.build.openshift.io "ruby-ex" deleted imagestream.image.openshift.io "httpd-example" deleted imagestream.image.openshift.io "ruby-ex" deleted route.route.openshift.io "httpd-example" deleted [root@localhost ~]# oc get is No resources found in zhouy namespace. [root@localhost ~]# oc describe quota test1 Name: test1 Namespace: zhouy Resource Used Hard -------- ---- ---- openshift.io/imagestreams 0 10 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.4.32 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:0029 |