Bug 1852743 - Node list CPU column only show usage
Summary: Node list CPU column only show usage
Status: ON_QA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
Depends On:
TreeView+ depends on / blocked
Reported: 2020-07-01 08:23 UTC by Yadan Pei
Modified: 2021-03-05 21:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)
Node Lists Page (229.80 KB, image/png)
2020-07-01 08:30 UTC, Yadan Pei
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 6816 0 None closed Bug 1852743: Show total cores in node list 2021-02-05 18:19:04 UTC
Github openshift console pull 8250 0 None open Bug 1852743: Use consistent labels for CPU in node list 2021-03-05 15:49:06 UTC

Description Yadan Pei 2020-07-01 08:23:11 UTC
Description of problem:
Node list page, CPU column only shows CPU usage, but for Memory and Filesystem, we are showing both usage and total in usage/total format

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

How reproducible:

Steps to Reproduce:
1.admin user goes to Node list page, check the columns in table

Actual results:
1. Memory column shows 2.03 GiB / 15.2 GiB, Filesystem shows 33.93 GiB / 493.6 GiB but CPU column only show usage 0.217 cores

Expected results:
1. CPU column should also show values in format: usage/total, sometimes master node has 8 vCPU, while some other nodes may only havef 4 vCPU, it's better if we can show the total number in the column to be consistent with other columns

Additional info:

Comment 1 Yadan Pei 2020-07-01 08:30:08 UTC
Created attachment 1699443 [details]
Node Lists Page

Comment 2 Robb Hamilton 2020-07-01 12:08:43 UTC
Reassigning to Sam as he already has a PR in flight to change node list metrics at https://github.com/openshift/console/pull/5819

Comment 9 Yanping Zhang 2020-10-12 06:29:39 UTC
Checked on 4.7 cluster with payload: 4.7.0-0.ci-2020-10-11-211311
Now on nodes list page, in cpu column, it shows used cpu and total cpu, eg: "0.416 / 4 cores", to keep consistent with other columns format, it's better to show as "0.416 cores/ 4 cores". Sam, WDYT?

Comment 10 Yanping Zhang 2020-10-14 10:37:06 UTC
Based on question in Comment 9, assigned the bug first. Thanks!

Comment 11 Samuel Padgett 2020-11-13 20:39:18 UTC
I'm a little undecided on this since the unit will always be the same, and there's not much space in the table. But probably we should be consistent.

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