Bug 1031771

Summary: Never ending "loading" message and GIF in Monitoring > Metrics tab
Product: [Other] RHQ Project Reporter: Thomas Segismont <tsegismo>
Component: Core UIAssignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.10CC: hrupp, mithomps
Target Milestone: ---   
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1032687 (view as bug list) Environment:
Last Closed: 2014-04-23 12:29:57 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: 1032687    

Description Thomas Segismont 2013-11-18 17:51:55 UTC
Description of problem:
The Monitoring > Metrics tab of resources which define no metrics shows a never ending "loading" message and GIF.

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

How reproducible:
Always

Comment 1 Thomas Segismont 2013-11-18 17:56:31 UTC
> Version-Release number of selected component (if applicable):
> 4.9-SNAPSHOT

4.10-SNAPSHOT

Comment 2 Thomas Segismont 2013-11-19 13:52:17 UTC
Fixed in master

commit 53fe3bfffdb6fe31ddf2a4a33218cca19e4c6a5f
Author: Thomas Segismont <tsegismo>
Date:   Tue Nov 19 14:49:22 2013 +0100

The MetricsViewDataSource uses a CountDownLatch when searching for data to display. When a resource had no metric definition, the
latch was not updated.

As an aside, it's not necessary to search for Calltime and Trait live values, they are displayed on dedicated screens.

Comment 3 Mike Thompson 2013-11-19 17:09:25 UTC
I have reviewed the fix as well. The countdown latch failure condition was a definite oversight. I have never seen the measurementDefinition.getDataType() == COMPLEX' type before in any of the existing code.

Comment 4 Heiko W. Rupp 2014-04-23 12:29:57 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.