Bug 2043068 - <x> available of <y> text disappears in Utilization item if x is 0
Summary: <x> available of <y> text disappears in Utilization item if x is 0
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Giao Vu Dinh
QA Contact: Yanping Zhang
Depends On:
TreeView+ depends on / blocked
Reported: 2022-01-20 15:05 UTC by Rastislav Wagner
Modified: 2022-08-10 10:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-08-10 10:43:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10897 0 None open Bug 2043068: Show total text even if current utilization is 0 2022-01-20 15:28:43 UTC
Github openshift console pull 11617 0 None open Bug 2043068: <x> available of <y> text disappears in Utilization item if x is 0 2022-06-02 19:32:20 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:43:28 UTC

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):

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.


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