Bug 951266 - d3 Charts on Inventory -> Summary -> group metric portlet don't work properly for various groups
Summary: d3 Charts on Inventory -> Summary -> group metric portlet don't work properly...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.7
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 929208
TreeView+ depends on / blocked
 
Reported: 2013-04-11 21:43 UTC by Jirka Kremser
Modified: 2013-08-31 10:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-31 10:17:33 UTC
Embargoed:


Attachments (Terms of Use)
example (237.10 KB, image/png)
2013-04-11 21:43 UTC, Jirka Kremser
no flags Details
working example of a chart for resource (254.06 KB, image/png)
2013-04-11 21:44 UTC, Jirka Kremser
no flags Details
maxReqSumCompGr (140.95 KB, image/png)
2013-05-27 11:51 UTC, Armine Hovsepyan
no flags Details
maxReqFromSumm (205.68 KB, image/png)
2013-05-27 11:51 UTC, Armine Hovsepyan
no flags Details
compGrMacReq (121.59 KB, image/png)
2013-05-27 11:51 UTC, Armine Hovsepyan
no flags Details
asMaxReq (161.22 KB, image/png)
2013-05-27 11:52 UTC, Armine Hovsepyan
no flags Details

Description Jirka Kremser 2013-04-11 21:43:41 UTC
Created attachment 734437 [details]
example

Description of problem:
The new charts works without any issues on the Inventory -> Summary tab -> group metric portlet for resources, but for some groups empty popup window is showed or exception is thrown for some autogroups.



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

How reproducible:
always

Steps to Reproduce:
1. inventory some platform
2. create new compatible group with 1 resource of type JBossAS7 Standalone Server (RHQ server)
3. click on newly created group
4. Click on "Maximum request time" link within the "Group: Metric" portlet (this metric should be added by default)

Actual results:
empty window is shown

Expected results:
graph with data should be rendered as it works on the summary tab for the resrource itself (not for group with this resource)

Additional info:

The strange thing is that for some groups, it works well. For instance the autogroup of CPUs shows the proper graphs, but if one creates a common compatible group with some resources of type CPU. Then empty window is shown when clicking on that link on group metric portlet for summary tab for the comp. group. 

For autogroup "JBossAS7 Standalone Servers" it throws an exception (see the attachment)

Comment 1 Jirka Kremser 2013-04-11 21:44:45 UTC
Created attachment 734438 [details]
working example of a chart for resource

Comment 2 Jirka Kremser 2013-04-15 11:40:31 UTC
branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d180a87
time:    2013-04-15 13:38:20 +0200
commit:  d180a87f10798f616c744130383560e26f1780ad
author:  Jirka Kremser - jkremser
message: [BZ 951266] - d3 Charts on Inventory -> Summary -> group metric portlet
         don't work properly for various groups - There was an timing
         issue with using the count down latch in class
         CompositeGroupMultiLineGraphListView. Also, different criteria
         ("filterVisible" in particular) have to be used for fetching
         the data for autogroups.

Comment 3 Armine Hovsepyan 2013-05-27 11:47:19 UTC
verified.

please get attached screenshot of graphs for as7 resource from compatibility group and resources list.

Comment 4 Armine Hovsepyan 2013-05-27 11:51:04 UTC
Created attachment 753592 [details]
maxReqSumCompGr

Comment 5 Armine Hovsepyan 2013-05-27 11:51:46 UTC
Created attachment 753593 [details]
maxReqFromSumm

Comment 6 Armine Hovsepyan 2013-05-27 11:51:55 UTC
Created attachment 753594 [details]
compGrMacReq

Comment 7 Armine Hovsepyan 2013-05-27 11:52:02 UTC
Created attachment 753595 [details]
asMaxReq

Comment 8 Heiko W. Rupp 2013-08-31 10:17:33 UTC
Bulk close of old bugs in VERIFIED state.


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