Bug 952298

Summary: Deployment status is "Failure" with the message "Read timed out, rolled-back=false, rolled-back=false" in the agent.log file
Product: [JBoss] JBoss Operations Network Reporter: bkramer <bkramer>
Component: Plugin -- JBoss EAP 6Assignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: JON 3.1.2CC: bkramer, fbrychta, loleary
Target Milestone: DR01   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 952301
: 952301 (view as bug list) Environment:
Last Closed: 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 bkramer 2013-04-15 15:35:19 UTC
Description of problem:
Customer is trying to deploy an application to JBoss EAP6 instance, using JBoss ON CLI. As a result, their application is properly deployed (works fine) but they the status of deployment is Failure with Read timed out, rolled-back=false, rolled-back=false or in the agent.log file:

INFO  [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.StandaloneASComponent)- Deploying [test.ear] to domain only= true ...
ERROR [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.ASConnection)- CompositeOperation{steps=2} timed out: Read timed out
WARN  [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.StandaloneASComponent)-  ... done with failure: Read timed out, rolled-back=false, rolled-back=false
INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10002, Status=Failure]

Bugzilla #811955 [1] was opened and resolved in JBoss ON 3.1.0. However this happens on JBoss ON 3.1.2.

It seems that default timeout of 10 sec (line 373 in ASConnection.java) should be increased.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=811955

Version-Release number of selected component (if applicable):
JBoss ON 3.1.2

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Charles Crouch 2013-05-20 19:47:53 UTC
Can we get more info on:
-How reproducible is this?
-Does it depend on a large app being deployed
-Does it depend on the AS instance being busy?
-811955 talks about 'Deploy to server group', is that the situation here?

Comment 2 bkramer 2013-05-21 07:39:49 UTC
(In reply to Charles Crouch from comment #1)
> Can we get more info on:
> -How reproducible is this?
> -Does it depend on a large app being deployed
> -Does it depend on the AS instance being busy?
> -811955 talks about 'Deploy to server group', is that the situation here?

I couldn't reproduce this but the exception was thrown every time in the customer's environment. They said that the size of their application is ~120MB. To deploy application customer uses js script (I will deploy it with this bugzilla) and createPackageBackedResource method.

Let me know if you need any additional information.

Comment 4 Thomas Segismont 2013-08-28 12:32:26 UTC
Fixed in master

commit 506f5ee686fcad5b55e90a6b28639d9d88a219fe
Author: Thomas Segismont <tsegismo>
Date:   Wed Aug 28 14:28:13 2013 +0200

Now using a dedicated timeout (5 minutes) instead of the default one (10 seconds)

Comment 5 Filip Brychta 2013-11-06 16:09:54 UTC
Verified on
Version: 3.2.0.ER4
Build Number: e413566:057b211

I successfully deployed ~190MB war via CLI having CLI client in CZ and rhq server in US