Action is hanging while actively "Running"
search cancel

Action is hanging while actively "Running"

book

Article ID: 245506

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

An action hangs while it is actively "Running". 

 

Environment

Release : 6.7

Component : CA RELEASE AUTOMATION AGENT

 

Cause

This can happen if the action is configured to run as an alternative user AND:

  • No password is provided via the <action trying to run> -> Settings page/tab; and
  • The agent is attempting to use an SSH connection to login with the alternative user. This is the default configuration. The agent is attempting to use an SSH connection if the agent's InstallDir/conf/process.properties file has a blank value for the "cmd.to.execute" setting. 

 

Another common cause for an action to hang is using a parameter in an action when the parameter hasn't been assigned a value. This scenario is described here: Long running process

 

Resolution

There are a few ways to resolve this issue. It depends on how you want to handle using different users. 

  1. If you want to use SSH to connect/use an alternative user then supply a password to the action's Settings page/tab. 
  2. If you want to use su or sudo then configure the agent as described by the "Run Processes Under Different Users - Unix/Linux" section of the Deploy Agents page.