Bug 1026859

Summary: DTGov cannot deploy to JBoss domain manager
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: DT GovernanceAssignee: Kurt T Stam <kurt.stam>
Status: CLOSED CURRENTRELEASE QA Contact: Stefan Bunciak <sbunciak>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:26:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefan Bunciak 2013-11-05 14:42:51 UTC
Description of problem:

DTGov uses jboss cli to deploy to jboss domian manager with arguments --force and --server-groups [1] which are not permitted to be used together[2].

[1] https://github.com/Governance/dtgov/blob/3bb00815c0ce4a014dcd7b6679e5783c0515a121/dtgov-war/src/main/java/org/overlord/sramp/governance/services/DeploymentResource.java#L492

[2] https://issues.jboss.org/browse/AS7-2672?focusedCommentId=12645897&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12645897

Version-Release number of selected component (if applicable):
* 6.0.0.ER6 (Beta)

How reproducible:
* 100%

Steps to Reproduce:
1. Install FSW
2. Configure DTGov deployment target, e.g. 
governance.targets= fsw|http://www.jboss.org/overlord/deployment-status.owl#InProd|as_cli|admin::<admin_pwd>::<jboss_ip>::9999
3. Update DTGov workflow to use the new target
4. Start defined target server in domain mode
5. Create new deployment in DTGov

Actual results:
* Server log: http://pastebin.test.redhat.com/174246
* Application is not deployed

Expected results:


Additional info:

Comment 1 Stefan Bunciak 2014-01-14 13:30:32 UTC
DTGov assumes a server-group named according to the dtgov target name. This should be documented (so created BZ 1052943 - Add target condition).

Verified in FSW 6.0.0.ER8.