Action Failed: ROC - Create Deployment from Deployment Plan

book

Article ID: 207158

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

While running a ROC action (for example: ROC - Create Deployment from Deployment Plan) it fails. In the action that is failed we can see the following details:
Result for action: Create Deployment
Type: ROC - Create Deployment from Deployment Plan
FAILED_PAUSED
Agent: <AgentHostname>
Description: Error occurred during action execution: Failed to communicate with release center server.
Start Time: 2020-10-15 03:10:02.329
End Time: 2020-10-15 03:11:02:535

 

Cause

The problem was related to performance problems with the SQL Server. However, increasing the default timeout (described in the Resolution section) offered relief while the performance problems were addressed.

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION CORE

Resolution

The problem is often associated with a more serious performance problem - as these calls should complete very quickly (ms). If this kind of problem (timeout: default = 60 seconds) is being experienced then the following configuration entry can help prevent the action from timing out and causing failures. 

To increase the timeout, create this file if it doesn't already exist: NOLIO_INSTALL_DIR/conf/httpTimeout.properties

Add an entry for:

  • http.connection.timeout=<timeout value in ms>
  • http.socket.timeout=<timeout value in ms>

Note: A NAC restart is not required. 

 

Once the problems have been resolved it is recommended to lower the values back down to their default: 60000