CARA Agent upgrade successful still showing old version
search cancel

CARA Agent upgrade successful still showing old version

book

Article ID: 213612

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Upgrading an agent is failing. Both methods of the agent upgrade have been tried (with and without the option "Use new upgrade procedure for Linux agents"). The upgrade always results as having been completed successfully. But the agent version never gets updated. 

 

Environment

Release Automation - All Versions.

Cause

Files in the Agent_Installation_Dir/conf folder were owned by root. This problem was indicated in the following logs/wrapper.log messages:

ERROR  | jvm 2   | 2021/04/26 13:30:21.303 | Could not prepare agent for update. Launching it without update java.io.FileNotFoundException: /path/to/ReleaseAutomationAgent/conf/nimi_config.xml-07262019-bkup (Permission denied)
 
or
 
INFO   | jvm 2    | 2024/10/11 11:55:48.577 | Copy <ra_home>/conf/nolio-test.agent.p12 to <ra_home>/conf_bakup_2024-10-285-11_55_48/nolio-test.agent.p12
ERROR  | jvm 2    | 2024/10/11 11:55:48.577 | Could not prepare agent for update. Launching it without update java.io.FileNotFoundException: <ra_home>/conf/nolio-test.agent.p12 (Permission denied)

Resolution

To solve this issue: 

  • Make sure that all files in the <ra_home>/conf directory are owned by the same user/group. The owner/group should be the same as the user that the agent runs as. 
  • Run the agent upgrade again.