Bug 724929

Summary: as7: Error on creating a new child resource to the domain controller
Product: [Other] RHQ Project Reporter: Sunil Kondkar <skondkar>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.1CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:29:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot none

Description Sunil Kondkar 2011-07-22 10:46:31 UTC
Description of problem:

Tried to create a new child resource to the domain controller by uploading a war file. The child history tab of DomainController displays failed status with error "No handler for deploy at address [("deployment" => "counter.war")], rolled-back=true".

The agent log displays below:

2011-07-22 15:58:44,017 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=DomainDeployment, plugin=jboss-as-7]], ResourceKey=[null]
2011-07-22 15:58:44,116 INFO  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.ASUploadConnection)- Response code for file upload: 200
2011-07-22 15:58:44,117 INFO  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.BaseComponent)- Deploying [counter.war] to domain only= true ...
2011-07-22 15:58:44,164 WARN  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.BaseComponent)-  ... done with failure: No handler for deploy at address [("deployment" => "counter.war")], rolled-back=true
2011-07-22 15:58:44,164 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10011, Status=Failure]


 
Version-Release number of selected component (if applicable):
Build#213 (Version: 4.1.0-SNAPSHOT Build Number: c96ce2f)
Database: Postgres 8.4.2

How reproducible:
Always

Steps to Reproduce:
1. Start the AS7 domain mode.
2. Install RHQ with As7 plugin.
3. Navigate to the 'Inventory'->Child Resources tab of the DomainController after discovery and import.
4. Click on 'Create Child->DomainDeployment' in Child Resources tab.
5. Click 'Next' and upload a war file.
6. Click 'Next' and 'Finish' buttons.
7. Navigate to the child history tab and click on the history status.

Please refer the attached screenshot.
  
Actual results:

Error on creating a new child resource to the domain controller

Expected results:

Should be able to create a new child resource to the domain controller with success.

Additional info:

Comment 1 Sunil Kondkar 2011-07-22 10:47:21 UTC
Created attachment 514656 [details]
Screenshot

Comment 2 Heiko W. Rupp 2011-07-22 15:42:21 UTC
24e34cb87e0 in branch as7plugin

Comment 3 Heiko W. Rupp 2011-07-22 15:45:48 UTC
pushed to master.

Comment 4 Sunil Kondkar 2011-07-25 11:20:58 UTC
Verified on build#218 (Version: 4.1.0-SNAPSHOT Build Number: 6eedd25)

Started AS7-Final domain mode and successfully created new child resource to the DomainController by deploying a war file.

Marking as verified.

Comment 5 Mike Foley 2012-02-07 19:29:40 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Comment 6 Mike Foley 2012-02-07 19:30:20 UTC
marking VERIFIED BZs to CLOSED/CURRENTRELEASE