Bug 1824445 - inner circle of resource quota donut show wrong available value
Summary: inner circle of resource quota donut show wrong available value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.6.0
Assignee: Joe Caiani
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-16 09:06 UTC by Yadan Pei
Modified: 2021-06-29 07:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 15:57:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 15:58:06 UTC

Description Yadan Pei 2020-04-16 09:06:45 UTC
Description of problem:
When we hover the inner circle of resource quota donut, it shows 'xxx available' but the value is wrong, currently the value is the same as used value 

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-04-15-194358

How reproducible:
Always

Steps to Reproduce:
1. cluster admin creates resource quota for project
# cat resource-quota.yaml 
apiVersion: v1
kind: ResourceQuota
metadata:
  creationTimestamp: null
  name: quota
spec:
  hard:
    cpu: "1"
    memory: 750Mi
    pods: "10"
    replicationcontrollers: "10"
    resourcequotas: "1"
    services: "10"
status: {}

# oc create -f resource-quota.yaml -n yapei-1
resourcequota/quota created
2. before we create workloads, check resource quota usage at Administration -> Resource Quotas -> quota details page, it shows 0% used 
3. create some workloads, such as Deployment Config from console using example YAML, after pods are running, check resource quota usage again, it shows 60% used for CPU Request, 40% used for Memory Request in chart
4. hover the inner circle of the chart
5. hover the outer circle of the chart

Actual results:
4. it shows '60 available', '40 available'
5. nothing shows 

Expected results:
4. If inner circle presents usage, it should show correct usage used in this project. 
5. Not sure what's the usage of outer circle 

Additional info:

Comment 1 Joe Caiani 2020-05-08 16:58:01 UTC
moved to upcoming sprint: will investigate and fix in the upcoming bug fix sprint

Comment 2 Joe Caiani 2020-05-29 17:29:54 UTC
low priority will investigate in upcoming sprint

Comment 4 Yadan Pei 2020-09-07 02:51:43 UTC
I believe this is the same bug with bug 1848512, so also move to VERIFIED

Comment 7 errata-xmlrpc 2020-10-27 15:57:47 UTC
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.6 GA Images), 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-2020:4196


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