Centralised agents upgrade failed.
search cancel

Centralised agents upgrade failed.


Article ID: 238921


Updated On:


CA Workload Automation AE


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

"Staging has failed. Upgrade cannot be continued"


Release : 12.0 and higher

Component :


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.

[root@WA-Agent-server WAAEAgtr1137]# cd spool
[root@WA-Agent-server spool]# ls - ltr
ls: cannot access -: No such file or directory
ls: cannot access ltr: No such file or directory
[root@WA-Agent-server 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
[root@WA-Agent-server spool]# cd wcc_agent_cmd
[root@WA-Agent-server wcc_agent_cmd]# ls -ltr
total 0
drwxr-xr-x 2 root root 65 Apr 7 11:51 1649312478234-0b4a165d14d0407cb632bcfe0045a409
[root@WA-Agent-server wcc_agent_cmd]# cd 1649312478234-0b4a165d14d0407cb632bcfe0045a409
[root@WA-Agent-server 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
[root@WA-Agent-server 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=
Unable to send status.autosys-webui
url: https://autosys-webui:8443/wcc/asi/rest/agents/181/actionStatus
Unable to send status.autosys-webui


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, ensure the agent is able to post messages to the WebUI server (8443).

Additional Information

Centralized Agents Upgrade