Bug 768342

Summary: Incorrect work of Resource Group Metric Graph portlet
Product: [Other] RHQ Project Reporter: Anton <ieronim>
Component: Core ServerAssignee: Jay Shaughnessy <jshaughn>
Status: ON_QA --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2CC: hrupp, jshaughn, mpeter, spinder
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Windows   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1031732    
Description Flags
Portlet settings screenshot none

Description Anton 2011-12-16 07:16:15 EST
Description of problem:
Problem in portlet "Resource Group Metric Graph":
Duplicate records in metric lookup list in portlet settings(see attachment).
Graph displays only one resource metric.

Version-Release number of selected component (if applicable):
Reproduced on 4.2.0

Steps to Reproduce:
1. Add a resource group of two or more resources
2. Add Resource Group Metric Graph portlet
3. Open portlet settings and add resource group to assigned groups list
4. Choose any metric for group

Actual results:
1. Metric lookup list on portlet settings form contains duplicate records (for each resource in a group, I guess)
2. Metric graph displays metric only for one resource from the group

Expected results:
1. Correct metric selection in portlet settings, wothout duplicates
2. Metric graph for resource group, displaying summarized metrics
Comment 1 Anton 2011-12-16 07:17:04 EST
Created attachment 547760 [details]
Portlet settings screenshot
Comment 2 Heiko W. Rupp 2012-06-06 12:25:21 EDT
This is still present in RHQ 4.4 :-(
Comment 3 Simeon Pinder 2012-06-06 14:54:44 EDT
Ick. I'm guessing that the parent implementation gui class got refactored in some way and we didn't realize that we nicked these widgets.
Comment 4 Matt Peter 2012-06-14 14:17:50 EDT
We heavily use dynamic groups at our client, this is a big blocker for us :/
Comment 5 Jay Shaughnessy 2014-09-05 13:31:41 EDT
The single-member graphing issue was resolved in an earlier release. The duplicates in the settings is solved here.

Master commit 16c6dbf7d3fc6d1a2614cd34b255853e09f0be45
Author: Jay Shaughnessy <jshaughn@redhat.com>
Date:   Fri Sep 5 13:28:57 2014 -0400

    [768342] Incorrect work of Resource Group Metric Graph portlet
    The datasouce backing this select item had issues.  Fixed that. Also,
    fix a tangential issue in the MeasurementScheduleCriteria resource type