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.

Centralised agents upgrade failed.

book

Article ID: 238921

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Agent upgrade using Centralised agents upgrade feature in Autosys WebUI failed with an error.

"Staging has failed. Upgrade cannot be continued"

Cause

Check the CA-wcc.log under logs directory on the WebUI install directory. If no errors found on the WCC logs -

Login to the agent host where the staging is failed.

Go to spool/wcc_agent_cmd directory under the agent install location.

Search for the current cmd.out and cmd.err files under the same for the reason for the failure.

[[email protected] WAAEAgtr1137]# cd spool
[[email protected] spool]# ls - ltr
ls: cannot access -: No such file or directory
ls: cannot access ltr: No such file or directory
[[email protected] spool]# ls -ltr
total 4
drwxrwxrwt 3 root root 18 Apr 7 11:51 WA-Agent-server
-rw-r--r-- 1 root root 342 Apr 7 11:51 1649312478234-0b4a165d14d0407cb632bcfe0045a409_AgentInventoryCommandScript.sh
drwxr-xr-x 3 root root 60 Apr 7 11:51 wcc_agent_cmd
[[email protected] spool]# cd wcc_agent_cmd
[[email protected] wcc_agent_cmd]# ls -ltr
total 0
drwxr-xr-x 2 root root 65 Apr 7 11:51 1649312478234-0b4a165d14d0407cb632bcfe0045a409
[[email protected] wcc_agent_cmd]# cd 1649312478234-0b4a165d14d0407cb632bcfe0045a409
[[email protected] 1649312478234-0b4a165d14d0407cb632bcfe0045a409]# ls -ltr
total 20
-rw-r--r-- 1 root root 826 Apr 7 11:51 b64.js
-rw-r--r-- 1 root root 8762 Apr 7 11:51 cmd.jar
-rw-r--r-- 1 root root 0 Apr 7 11:51 cmd.err
-rw-r--r-- 1 root root 357 Apr 7 11:51 cmd.out
[[email protected] 1649312478234-0b4a165d14d0407cb632bcfe0045a409]# cat cmd.out
url: https://autosys-webui:8443/wcc/asi/rest/agents/181/actionStatus
Unable to send status.autosys-webui
url: https://autosys-webui:8443/wcc/asi/rest/agents/181/stageToAgent?platformwithArch=linux_amd64&version=12.0.00.00
Unable to send status.autosys-webui
url: https://autosys-webui:8443/wcc/asi/rest/agents/181/actionStatus
Unable to send status.autosys-webui



Environment

Release : 12.0 and higher

Component :

Resolution

As noted in the cmd.out file, the error is due to a communication failure between the agent and the WebUI.

The agent was not able to send the status back to Autosys-WebUI server.

Centralised agents upgrade feature requires communication between the Autosys WebUI server and the Agent.

Ensure that the agent host is reachable from the Autosys WebUI at the agent port number (agent_host:7520).

Also, the agent is able to post messages to the WebUI server (8443).

Additional Information

Centralized Agents Upgrade
 
https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-0-01/ca-wcc-help-systems/ca-wcc-agent-inventory/upgrade-agent-installers.html

Attachments