Bug 535286 (RHQ-1999) - RFE: Trigger DynaGroup recalculation on inventory change
Summary: RFE: Trigger DynaGroup recalculation on inventory change
Keywords:
Status: NEW
Alias: RHQ-1999
Product: RHQ Project
Classification: Other
Component: Core Server, Inventory, Resource Grouping
Version: unspecified
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-22 08:47 UTC by Heiko W. Rupp
Modified: 2023-01-20 05:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


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