ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CARA Agent upgrade successful still showing old version

book

Article ID: 213612

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (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. 

 

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)
ERROR  | jvm 2   | 2021/04/26 13:30:21.491 | Could not unset environment variable [jre_upgrade_cleanup]
INFO      | jvm 2   | 2021/04/26 13:31:14.672 | Start failed, no server target server has been set
 

Environment

Release : 6.7

Component : CA RELEASE AUTOMATION REPOSITORY

 

Resolution

To solve this issue: 

  • Make sure that all files in the Agent_Install/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.