Bug 2043068

Summary: <x> available of <y> text disappears in Utilization item if x is 0
Product: OpenShift Container Platform Reporter: Rastislav Wagner <rawagner>
Component: Management ConsoleAssignee: Giao Vu Dinh <gvudinh>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, jcaiani, jhadvig, spadgett, yapei
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:43:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rastislav Wagner 2022-01-20 15:05:03 UTC
Description of problem:
Some metrics in Utilization card have text <x> available of <y>. The text is visible for metrics which can tell the total (y) value. In this case it's CPU, Memory and Filesystem.
The text may disappear in case current utilization is 0. Which is not correct.


Version-Release number of selected component (if applicable):
4.10


How reproducible:
always in case current utilization is 0

Steps to Reproduce:
1. Find metric which utilization is 0, or alter the results going into the UI

Actual results:
 <x> available of <y> text disappears

Expected results:
 <x> available of <y> text is still visible

Comment 4 Yanping Zhang 2022-01-27 12:05:18 UTC
When current utilization is 0,  <x> available of <y> text still disappears. Refer to ultilization-text attachment.

Comment 9 Yanping Zhang 2022-06-22 11:31:38 UTC
Check with latest code, when current utilization is 0,  <x> available of <y> text could show up now, refer to screenshot.

Comment 12 errata-xmlrpc 2022-08-10 10:43:12 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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/RHSA-2022:5069