Bug 1656877

Summary: [Containers] Provider Dashboard Displaying "Undefined Total" In Node Utilization Heat Map Hover Text
Product: Red Hat CloudForms Management Engine Reporter: juwatts
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: juwatts
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.0CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1672697 (view as bug list) Environment:
Last Closed: 2019-12-13 15:16:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1672697    

Description juwatts 2018-12-06 15:20:59 UTC
Description of problem:
When hovering the mouse over one of the Node Utilization heat map blocks, it will display something along the lines of the following text (% and total will change based on the configured OCP provider):

Usage: 47% in use of 15884 undefined total


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

How reproducible:
100%

Steps to Reproduce:
1.  Add Openshift provider with hawkular
2.  Wait for metrics to populate
3.  However over memory block under node utilization

Actual results:
"undefined total" is displayed

Expected results:
Just "total" or the units of CPU or memory plus the string "total"

Additional info:
Observed in both the CPU and Memory

Comment 3 Harpreet Kataria 2019-01-24 18:34:21 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/5195

Comment 5 CFME Bot 2019-02-14 21:02:17 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/3b85c7f9e1d9c20abbfd4414b5707fe953df04be
commit 3b85c7f9e1d9c20abbfd4414b5707fe953df04be
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jan 24 13:29:16 2019 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Jan 24 13:29:16 2019 -0500

    Added missing unit label

    Added missing unit label for Container CPU and Memory heatmap tooltips.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1656877

 app/services/container_dashboard_service.rb | 2 +
 spec/services/container_dashboard_service_spec.rb | 16 +
 2 files changed, 18 insertions(+)

Comment 6 juwatts 2019-04-30 17:31:40 UTC
Verified in 5.11.0.1.20190424210327_58b5dbd

Verification Steps:
1. Add Openshift provider with hawkular
2. Wait for metrics to populate
3. Navigate to Compute->Containers-> Providers and select the provider from step 1
4. Hover over memory block under node utilization
5. Verified the hover text no longer includes "undefined"