Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1149900

Summary: On a multinode cluster, dtgov doesn't deploy via JON to all nodes
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Rick Wagner <rwagner>
Component: DT GovernanceAssignee: Aileen <aileenc>
Status: CLOSED UPSTREAM QA Contact: Stefan Bunciak <sbunciak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: aileenc, ppecka, soa-p-jira, tplevko
Target Milestone: CR1   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:43:13 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log populated with DTGov exceptions none

Description Rick Wagner 2014-10-06 20:52:44 UTC
The user reports:  
"we are facing this issue, https://bugzilla.redhat.com/show_bug.cgi?id=1053686, but the deployment completes only on one node of a group of three, the last exception is circular reference mentioned in the bug."

We are not certain BZ1053686 entirely encompasses the problem, so please be cautious in validating.  (Run a complete test.)

BZ1053686 is linked, as it may be related (it is for the next release of FSW, this BZ is for a patch for FSW 6.0).

DTGOV-197 is linked, it is the community fix for BZ1053686.

The customer case is also linked.

Comment 1 Eric Wittmann 2014-10-08 16:11:40 UTC
We have backported the updated RHQ/JON deployer support from community to FSW6.0:

https://github.com/jboss-integration/dtgov/compare/1.0.0.CR1-prod-ip6.0...BZ-1149900

Our testing is successful with this update.

I have merged this change into the production branch but I have not yet tagged.

Comment 5 Stefan Bunciak 2015-03-03 13:35:32 UTC
Verification failed. 

I can still reproduce this issue with FSW_6.0_4_2014 rollup patch. 
Using the following configuration:

governance.targets=  dev|http://www.jboss.org/overlord/deployment-status.owl#InDev|rhq|rhqadmin::rhqadmin::http://10.16.23.158:7080/::JBossAS7::FSW

deployment ended up only on 1 of 3 servers specified in the JON "FSW" server group. Furthermore, DTGov populated server.log with exceptions (log attached).
I was using JON 3.3.0.GA.

Comment 6 Stefan Bunciak 2015-03-03 13:36:02 UTC
Created attachment 997539 [details]
server.log populated with DTGov exceptions

Comment 11 David Virgil 2015-04-08 10:24:32 UTC
Testing DTgov deployment in the jon instance provided by Tomas.

I am receiving an ERROR 503

12:23:37,868 INFO  [stdout] (http-/127.0.0.1:8080-19) HTTP/1.1 503 Service Unavailable
12:23:37,869 INFO  [stdout] (http-/127.0.0.1:8080-19) Server=Apache-Coyote/1.1
12:23:37,870 INFO  [stdout] (http-/127.0.0.1:8080-19) Content-Type=application/json
12:23:37,870 INFO  [stdout] (http-/127.0.0.1:8080-19) Transfer-Encoding=chunked
12:23:37,871 INFO  [stdout] (http-/127.0.0.1:8080-19) Date=Wed, 08 Apr 2015 10:23:36 GMT
12:23:37,871 INFO  [stdout] (http-/127.0.0.1:8080-19) Connection=close
12:23:37,872 INFO  [stdout] (http-/127.0.0.1:8080-19) 
12:23:37,872 INFO  [stdout] (http-/127.0.0.1:8080-19) {
12:23:37,873 INFO  [stdout] (http-/127.0.0.1:8080-19)     "message": "Error while sending create resource request to agent service"
12:23:37,874 INFO  [stdout] (http-/127.0.0.1:8080-19) }



when this  code is executed:




            Response response = given().body(jsonObject) // Type of new resource
                .queryParam("handle", handle) //$NON-NLS-1$
                    .contentType(ContentType.JSON).header(acceptJson)
                //.log().everything()
            .expect()
                .statusCode(isOneOf(200, 201, 302))
                .log().everything()
            .when()
                .post("/resource"); //$NON-NLS-1$


The json object contains this data: 

{"resourceName":"dtgov-demos-webapp-1.5.0-20150408.101734-2.war","resourceId":0,"typeName":"Deployment","pluginName":"JBossAS7","parentId":10111,"status":null,"typeId":0,"ancestry":null,"location":null,"description":null,"pluginConfig":{"path":"deployment"},"resourceConfig":{"runtimeName":"dtgov-demos-webapp-1.5.0-20150408.101734-2.war"}}

Comment 12 Aileen 2015-04-27 10:12:49 UTC
Do you still need a fix for this as DtGov is being deprecated?

Comment 16 Red Hat Bugzilla 2025-02-10 03:43:13 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.