Description of problem: Cluster admin go to Resource Quotas page and create a compute resource quota without "requests.cpu". The donut data displays "0%" instead of "No Data" or "No Request" Version-Release number of selected component (if applicable): 4.2.0-0.nightly-2019-07-21-222447 How reproducible: Always Steps to Reproduce: 1. Cluster admin go to Resource Quotas page 2. Create a compute resource quota without "requests.cpu" for a project 3. After created, check the data in center of the "CPU Request" donut Actual results: 3. Data is 0%. There is no text "used" under the 0% Expected results: 3. It should be "No Data" or "No Request" Additional info:
I have a design question about this: Why are we even displaying an empty gauge for resource types that don't exist on a quota? Could we just omit resource types that are not included in a quota?
This is verified on latest console from Payload 4.2.0-0.nightly-2019-08-10-002649 Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:ddc29d8fa071edfedc9ef1051db3d84efb13815cc74ab88c0ec597bccbee34e2
Created attachment 1602751 [details] Verified and correct gauge for empty data
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, 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-2019:2922