Bug 816146

Summary: [eap6] managed deployments remain as DOWN on managed servers when undeployed from server group
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: AgentAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.4CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Libor Zoubek 2012-04-25 06:50:42 EDT
Description of problem:managed deployments remain as DOWN on managed servers when undeployed from server group.

Version-Release number of selected component (if applicable):
Version: 4.4.0-SNAPSHOT
Build Number: 5ffafd2

How reproducible:always

Steps to Reproduce:
1.have EAP6 running in domain mode
a)create Deployment child for main-server-group resource (Bug 815965 might block you)
b) or create DomainDeployment, deploy it to main-server-group
3.run autodiscovery - your deployment appears as main-server-group child as well as on managed servers (server-one,server-two)
4. delete deployment resource child from main-server-group's inventory
Actual results: deployment resources on managed servers remain and appear offline (since they were removed by DC on managed servers)

Expected results: When deployment is removed from server-group managed deployments (on related managed servers) should be removed too
Comment 1 Heiko W. Rupp 2012-04-25 07:48:47 EDT
There is nothing really that we can do here, as the plugin has no way to signal that a different resource should be removed from inventory.

While this shows especially in the as7 case, this will also e.g. be the case if you have a cluster of as4/5 where you deploy an archive via farm service to one server. This will show up in inventory on all servers of the cluster. Now remove it on the first server and see it go red on all other servers (iirc removal also kind of works in farm service).
Comment 2 Mike Foley 2012-04-30 12:02:14 EDT
triaged 4/30/2012 by loleary, ccrouch, mfoley