Bug 2102801 - ClusterResourceQuota objects report wrong number of used resources
Summary: ClusterResourceQuota objects report wrong number of used resources
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-controller-manager
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.z
Assignee: Jan Chaloupka
QA Contact: Ke Wang
URL:
Whiteboard:
Depends On: 2101345
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-30 17:13 UTC by Wilhelm Weber
Modified: 2023-09-18 04:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-16 10:42:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wilhelm Weber 2022-06-30 17:13:45 UTC
Description of problem:

Creation and recreation of resources (Pods, secrets,...) quoted by ClusterResourceQuotas is not possible anymore because accounting of use resources by the ClusterResourceQuota is completely wrong.

ClusterResourceQuota accounts resources that doesn't even exist at all!

Version-Release number of selected component (if applicable):
Red Hat OpenShift 4.9.37

Comment 9 Maciej Szulik 2022-07-14 11:40:52 UTC
The library containing the clusterresourcequota admission code has been merged in https://github.com/openshift/apiserver-library-go/pull/86
We are currently in the process of pulling in these changes along with latest k8s in https://bugzilla.redhat.com/show_bug.cgi?id=2101345
as soon as the latter will land we will be able to push this further as well.

Comment 17 Jan Chaloupka 2023-01-16 10:42:15 UTC
The issue is getting resolved through https://issues.redhat.com/browse/OCPBUGS-723

Comment 18 Red Hat Bugzilla 2023-09-18 04:40:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.