Bug 1028031

Summary: Globally uncaught exception while viewing members reporting for auto-group with NaN
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: UIAssignee: Mike Thompson <mithomps>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: genman, hrupp, lzoubek, mfoley
Target Milestone: ER07   
Target Release: JON 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:33:27 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: 1012435    
Attachments:
Description Flags
globally-uncaught_ex.png
none
exc_msg
none
memberReportingNaN
none
NaN Autogroup error
none
metric_for_nan none

Description Armine Hovsepyan 2013-11-07 14:03:30 UTC
Created attachment 821155 [details]
globally-uncaught_ex.png

Description of problem:
Globally uncaught exception while viewing Metrics for  aouto-group

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

How reproducible:
always

Steps to Reproduce:
1. Click on autogroup such as CPU
2. click monitoring tab
3. click metrics subtab
4. Click on any of members reporting  

Actual results:
Globally uncaught exception 

Expected results:
corresponding charts should be drown

Additional info:
screen-shots attached
no exception in server or agent logs

Since user is unable to view charts of auto-group resources' metrics i am marking this issue as blocker for GA

Comment 1 Armine Hovsepyan 2013-11-07 14:28:06 UTC
Created attachment 821167 [details]
exc_msg

Comment 2 Armine Hovsepyan 2013-11-07 15:12:13 UTC
Note: The issue is cause by having no data for member reports metrics ->  see membersReportingNaN.ong

Comment 3 Armine Hovsepyan 2013-11-07 15:12:49 UTC
Created attachment 821207 [details]
memberReportingNaN

Comment 4 Mike Thompson 2013-11-07 16:14:08 UTC
Created attachment 821247 [details]
NaN Autogroup error

Comment 5 Mike Thompson 2013-11-07 16:19:36 UTC
The NaN values, cause a blank value for a number in the json produced in the graph . This blank value is not valid json and the d3 graph throws an error parsing the blank value where a number should be present. I'm inserting a zero for the blank value as a valid number.

Comment 6 Mike Thompson 2013-11-07 16:24:49 UTC
Pushed to master as commit: 5f95176

Comment 7 Mike Thompson 2013-11-07 16:28:38 UTC
Pushed to release/jon3.2.x as commit: befe0a3

Comment 8 Armine Hovsepyan 2013-11-08 12:32:48 UTC
*** Bug 1028323 has been marked as a duplicate of this bug. ***

Comment 9 Simeon Pinder 2013-11-19 15:47:56 UTC
Moving to ON_QA as available for testing with new brew build.

Comment 10 Simeon Pinder 2013-11-22 05:13:32 UTC
Mass moving all of these from ER6 to target milestone ER07 since the ER6 build was bad and QE was halted for the same reason.

Comment 11 Armine Hovsepyan 2013-11-22 12:32:29 UTC
Created attachment 827730 [details]
metric_for_nan

Comment 12 Armine Hovsepyan 2013-11-22 12:32:55 UTC
verified in er7
screen-shot attached

Comment 13 Elias Ross 2013-12-13 01:13:44 UTC
*** Bug 1042646 has been marked as a duplicate of this bug. ***