Bug 535286 (RHQ-1999)

Summary: RFE: Trigger DynaGroup recalculation on inventory change
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core Server, Inventory, Resource GroupingAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: jshaughn
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1999
Whiteboard:
Fixed In Version: Doc Type: Enhancement
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: --- Target Upstream Version:
Embargoed:

Description Heiko W. Rupp 2009-04-22 08:47:00 UTC
We can recalculate DynaGroups every n minutes.

It would be nice if the recalculation could be done when new resources are added to inventory or removed from it.
That way it would be simple to have a DynaGroup that just contains all resources for security purposes.

Comment 1 Red Hat Bugzilla 2009-11-10 20:55:45 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1999


Comment 2 Corey Welton 2010-08-10 18:15:58 UTC
Moving this to ON_QA -- move it back to assigned state if not passed.

Also, create a test case for this issue, for future tracking.

Comment 3 Sunil Kondkar 2010-08-11 10:52:41 UTC
Tested on jon-2.4GA

Inventoried a jbossAS server(eap5) and created a dynagorup with:
resource.type.plugin = JBossAS5
resource.type.name = JBossAS Server

Inventoried another jbossAS server(eap5.1) and observed that the recalculation does not happen for the dynagroup. 
Recalculating manually displays the new group member in the dynagroup.

The new resource is removed from dynagroup after uninventoring.