Bug 1421186

Summary: globally uncaught exception on storage node details page in administration
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: UIAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED ERRATA QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.8CC: jmartine, rvargasp, spinder
Target Milestone: DR01Keywords: Triaged
Target Release: JON 3.3.9   
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: 2017-10-02 17:21:51 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
storage node screenshot none

Description Filip Brychta 2017-02-10 15:02:12 UTC
Created attachment 1249053 [details]
storage node screenshot

Description of problem:
See attached storageNode.png, the exception is very probably thrown because the Heap Used metric has NaN value because it's not enabled by default.

Version-Release number of selected component (if applicable):
JON3.3.8

How reproducible:
Always

Steps to Reproduce:
1. install JON 3.3.8
2. navigate to Administration->Storage Nodes->Your storage node
3. Heap Used metric should be NaN because it's not enabled by default

Actual results:
globally uncaught exception

Expected results:
No exception because of NaN

Additional info:
See bz1138328, they didn't find a root cause but it very probably the NaN values.

Comment 4 Ruben Vargas Palma 2017-08-18 04:48:23 UTC
I've already reproduced this issue disabling the Heap usage metric manually, also I sent a PR for fix this.

Comment 6 Josejulio Martínez 2017-08-23 15:50:33 UTC
commit 4a0e0df0bde12c1597732f37d139da6df3477278
Merge: ae8a967 6a7e8cb
Author: Michael Burman <yak>
Date:   Fri Aug 18 15:20:22 2017 +0300

    Merge pull request #314 from rubenvp8510/BZ1421186
    
    [BZ 1421186] Validate data is null when showing spark line charts on …

commit 6a7e8cb22f852b91866203676bfb94ffdef5f015
Author: Ruben Vargas <ruben.vp8510>
Date:   Wed Aug 16 13:38:29 2017 -0500

    [BZ 1421186] Validate data is null when showing spark line charts on node storage screen.

Comment 9 Simeon Pinder 2017-09-01 15:34:04 UTC
Moving to ON_QA as available for test with the following binary:
http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/133/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip

*NOTE Build represents JON 3.3.9 DR01 build.

Please report issues as you encounter them.

Comment 11 errata-xmlrpc 2017-10-02 17:21:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2846