Bug 536343 (RHQ-702) - Add support for uninventorying/deleting resources from a group
Summary: Add support for uninventorying/deleting resources from a group
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-702
Product: RHQ Project
Classification: Other
Component: No Component
Version: 1.0.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: 615499
TreeView+ depends on / blocked
 
Reported: 2008-07-29 16:12 UTC by Charles Crouch
Modified: 2015-02-01 23:25 UTC (History)
4 users (show)

Fixed In Version: 2.4
Clone Of:
: 615499 (view as bug list)
Environment:
Last Closed: 2010-08-12 16:57:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Charles Crouch 2008-07-29 16:12:00 UTC
It would be handy if it was possible to remove the members of a group from inventory, rather than just remove the members from the group itself. Removal should either be uninventory or deletion, as is done currently on the inventory page for parent resources. Basically I'm thinking of having the group resource act more like parent resources do now.

For example, there could be a webapp which you would like undeployed from all your JBAS servers. Just create a dynagroup, then on the inventory page for that group select the resources you wanted to delete, and delete them.

There are obviously other ways to skin this particular cat, e.g. you can already uninventory arbitrary resources from the Browse Resources page. So you could extend this by having a DELETE button and using the filter box to choose the resources you want to delete. The advantage I guess with the dynagroup approach is that it gives you finer grained control over which resources get selected.

Comment 1 Joseph Marques 2008-07-29 17:08:57 UTC
this makes sense, but a formal dynagroup is probably not needed.  if we wrapped the expressions with a more convenient (dynamic) UI, then we can expose it as on-the-fly or saved searches.  then, the operation can be performed against the results of the search (as opposed to creating a dynagroup, editing expression list, recalculating the group, performing the results against the group, then deleting the group).  

Comment 2 Joseph Marques 2008-07-29 17:10:30 UTC
linking to RHQ-401 which talks about an expression builder, which is a text-oriented form of the dynamic interface i was referring to in my last comment.

Comment 3 Red Hat Bugzilla 2009-11-10 21:15:07 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-702
This bug is related to RHQ-401


Comment 4 Joseph Marques 2010-06-17 18:39:33 UTC
commit 8e64b8dc84e6da52147458a13c970fa07ba774c1
Author: Joseph Marques <joseph>
Date:   Thu Jun 17 14:35:02 2010 -0400

    BZ-536343: support uninventorying all resources members of a group

-----

There's a new "UNINVENTORY MEMBERS" but on the groups tab of the inventory browser.  select one or more resources, click it, and all members of the selected groups will be uninventoried.

Comment 5 Sunil Kondkar 2010-06-22 12:46:16 UTC
Verified on JON 2.4 GA_QA build

The 'Groups' tab of inventory browser displays the button 'UNINVENTORY MEMBERS'

Selecting one or more resources and clicking on the button 'UNINVENTORY MEMBERS' uninventories members of the selected groups. The UI displays message 'Uninventoried members of selected groups '.

Comment 6 Corey Welton 2010-08-12 16:57:32 UTC
Mass-closure of verified bugs against JON.


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