Bug 1656877 - [Containers] Provider Dashboard Displaying "Undefined Total" In Node Utilization Heat Map Hover Text
Summary: [Containers] Provider Dashboard Displaying "Undefined Total" In Node Utilizat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: GA
: 5.11.0
Assignee: Harpreet Kataria
QA Contact: juwatts
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1672697
TreeView+ depends on / blocked
 
Reported: 2018-12-06 15:20 UTC by juwatts
Modified: 2019-12-13 15:16 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1672697 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:16:11 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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"


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