Bug 1512721

Summary: SUI: VM Utilization data disappears after navigating away from page
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - ServiceAssignee: Allen W <awight>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: awight, bascar, dajohnso, dclarizi, jhardy, lavenel, obarenbo
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1513495 (view as bug list) Environment:
Last Closed: 2018-06-21 20:57:55 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:
Bug Depends On:    
Bug Blocks: 1513495    
Attachments:
Description Flags
screen shot of VM Utilization doughnut chart on SUI none

Description Nandini Chandra 2017-11-13 23:09:15 UTC
Description of problem:
-----------------------
I ran into this issue while verifying https://bugzilla.redhat.com/show_bug.cgi?id=1497733.

I provisioned a service with a few VMs. On the SUI, CPU, Memory, and Storage Utilization do get displayed for the individual VMs, but when I navigate away from the page and then navigate back to the page, all the Utilization data was gone.


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


How reproducible:
----------------
Always


Steps to Reproduce:
--------------------
1.Manage a provider
2.Provision a service with VMs.
3.Enable C&U collection for the provider.


Actual results:
---------------
VM Utilization data disappears after after navigating away from page.


Expected results:
-----------------
VM Utilization data should always be displayed so long as C&U data for the VM is available in the metric_rollups table.


Additional info:
----------------

Comment 2 Nandini Chandra 2017-11-13 23:10:34 UTC
I have been discussing this issue with Allen Wight.

Comment 3 Allen W 2017-11-13 23:11:30 UTC
Nandini, thanks for spotting this!  I'll have a fix for yah in a jiffy.

Comment 4 Nandini Chandra 2017-11-13 23:12:39 UTC
Created attachment 1351728 [details]
screen shot of VM Utilization doughnut chart on SUI

Comment 5 Allen W 2017-11-13 23:15:24 UTC
https://10.8.197.182/ is the appliance we're working from (for posterity and just in case I forget)

Comment 6 Allen W 2017-11-14 00:37:59 UTC
https://github.com/ManageIQ/manageiq-ui-service/pull/1237

almost ready to merge this, wanta do a lil more work to ensure graceful breaking of the things

Comment 7 Allen W 2017-11-14 03:11:36 UTC
It's in!  Thanks again for the great find Nandini :-) <3