Bug 536247 (RHQ-618) - RFE: resource *delete* should also remove (uninventory) logically related resources
Summary: RFE: resource *delete* should also remove (uninventory) logically related res...
Keywords:
Status: NEW
Alias: RHQ-618
Product: RHQ Project
Classification: Other
Component: Inventory
Version: 1.0
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
: 670749 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-23 22:01 UTC by Charles Crouch
Modified: 2024-03-04 13:35 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 670749 0 low CLOSED When an EAR is removed, an option should be exposed to remove all of its deployed resources or the removal of its deploy... 2021-02-22 00:41:40 UTC

Internal Links: 670749

Description Charles Crouch 2008-06-23 22:01:00 UTC
Example would be deleting a .ear archive, will remove the archive from disk, remove the ear resource from the inventory, but leave the stateless session bean resources (that were contained in the .ear) still in the inventory. These resources turn red since their actual deployment (inside the .ear archive) no longer exists.

The trouble is there is no real association between the ear resource and the SLSB resource to indicate that the SLSB should be removed too.

Comment 1 Joseph Marques 2009-04-28 09:11:55 UTC
this could/would be fixed by implementing the relationship service.

Comment 2 Red Hat Bugzilla 2009-11-10 21:13:23 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-618
This bug is related to RHQ-372
This bug incorporates RHQ-323


Comment 3 Jochen Riedlinger 2010-05-27 12:00:17 UTC
This is not only true for a deletion of an EAR, but also for an uninventory of that EAR.

Also not only the SLSBs(EJB-JARs) is still there, but all other embedded elements of that EAR (RAR, WAR, )

We deploy our EARs with names like e.g.:
OurApp-2.2.4.ear (with embedded OurApp-EJB-2.2.4.jar, OurApp-web-2.2.4.war) and want to uninventory them when updating to OurApp-2.2.5.ear


It is too much work not just to uninventory the EARs but also all children.....

Comment 4 Corey Welton 2010-09-13 19:58:30 UTC
needinfo ccrouch:  latest thoughts?

Comment 5 bkramer 2011-01-19 10:47:24 UTC
I have raised the following https://bugzilla.redhat.com/show_bug.cgi?id=670749
before I found this one. If you check the steps to reproduce in 670749 you will see exactly the same test scenario.

Comment 6 Larry O'Leary 2011-02-08 16:02:52 UTC
*** Bug 670749 has been marked as a duplicate of this bug. ***

Comment 7 Jay Shaughnessy 2014-05-02 18:46:33 UTC
Although not a silver bullet, there is some ability for the work in Bug 1093822 to potentially have a positive impact here.


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