Bug 952298 - Deployment status is "Failure" with the message "Read timed out, rolled-back=false, rolled-back=false" in the agent.log file
Summary: Deployment status is "Failure" with the message "Read timed out, rolled-back=...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: DR01
: JON 3.2.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-15 15:35 UTC by bkramer
Modified: 2018-12-03 18:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of: 952301
: 952301 (view as bug list)
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.