Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1852770

Summary: Node list page and Utilization card are showing different Filesystem values
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, erich, jokerman, pweil, spadgett, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-01 12:22:49 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:
Attachments:
Description Flags
Node List Filesystem Value
none
Node Details Utilization Filesystem Value none

Description Yadan Pei 2020-07-01 09:22:14 UTC
Description of problem:
Node list page and Node overview page are showing different values for Filesystem

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-06-30-020342

How reproducible:
Always

Steps to Reproduce:
1. admin user view node lists page, choose one node and record its Filesystem value
2. click on the node link and record the value in Utilization card on node overview page
3. compare the two values

Actual results:
3. the Filesystem value we got from step1 is: 33.99 GiB / 493.6 GiB
the Filesystem value we got from step2 is: 111 GiB available, 8.44 GiB of 119.5 GiB
We can see there is too much difference between these values.

Expected results:
3. the usage and total value of Filesystem should be consistent

Additional info:

Comment 1 Yadan Pei 2020-07-01 09:23:40 UTC
Created attachment 1699455 [details]
Node List Filesystem Value

Comment 2 Yadan Pei 2020-07-01 09:24:18 UTC
Created attachment 1699456 [details]
Node Details Utilization Filesystem Value

Comment 3 Robb Hamilton 2020-07-01 12:09:50 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 4 Samuel Padgett 2020-07-10 18:42:20 UTC
I've confirmed the queries are different for the Node Overview page and the Node List. The Overview queries are here:

https://github.com/openshift/console/blob/master/frontend/packages/console-app/src/components/nodes/node-dashboard/queries.ts#L39-L42

Comment 16 Yadan Pei 2020-09-30 07:33:44 UTC
It looks like on latest 4.6, the issue is fixed, maybe fixed by other PRs? 

On Node Details Utilization card, it shows `36.31 GiB of 358.9 GiB`
On Nodes list page table, it shows `36.3 GiB / 358.9 GiB`

Check another node's filesystem values
On Node Details Utilization card, it shows `29.37 GiB of 358.9 GiB`
On Nodes list page table, it shows `29.35 GiB / 358.9 GiB`

Comment 17 Samuel Padgett 2020-10-01 12:22:49 UTC

*** This bug has been marked as a duplicate of bug 1874028 ***