search cancel

CAU: Agent Log - "U02000287 Task RunID '0' is still active" and upgrade does not complete

book

Article ID: 257872

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

A problem shows up during the CAU of Windows agents. The CAU process and hangs and somehow 'Active' RUNIDs blocks the upgrade.

These RUNIDs in the log are not existing on the system 0.

20221107/140840.367 - U02000239 Resource '0:[email protected]8306044/UCXJWX6.EXE' - '.\upgrdcache\66908003\ucxjwx6.exe' created.
20221107/140849.554 - U02000239 Resource '0:[email protected]8306044/ZU00132.DLL' - '.\upgrdcache\66908003\zu00132.dll' created.
20221107/141011.041 - U02000239 Resource '0:[email protected]8306044/UC.MSL' - '.\upgrdcache\66908003\uc.msl' created.
20221107/141011.041 - U02000279 Resource download for deployment process '66908003' successfully completed.
20221107/141011.041 - U02000286 Deployment process '66908003' is waiting for running tasks to end:
20221107/141011.041 - U02000287 Task RunID '4294967264' is still active.
20221107/141011.041 - U02000287 Task RunID '4294967264' is still active.
20221107/141011.041 - U02000287 Task RunID '4294967264' is still active.
20221107/141011.041 - U02000287 Task RunID '4294967264' is still active.
20221107/141011.041 - U02000287 Task RunID '0' is still active.
20221107/141011.041 - U02000287 Task RunID '0' is still active.
20221107/141011.041 - U02000287 Task RunID '0' is still active.

Environment

Release : 21.x and 12.x

Component: Automation Engine

Sub-Component: Agent Windows

Cause

This is a Defect of the Agent Windows and Automation Engine 12.3.x and 21.x

Resolution

Workaround:

1: Restart the Service Manager - this will finish the CAU upgrade.

2: Restart the Agent and then trigger the update. As this will clear all state information, the CAU will not wait any more on the wrong RunIDs, and will proceed.

3: The workaround 2 can be automated with the following (sample) script:

:SET &RUNID# = MODIFY_SYSTEM(TERMINATE,WIN01)
:PRINT &RUNID#
:wait 5
:SET &RUNID# = MODIFY_SYSTEM(STARTUP,WIN01)
:wait 5
:SET &RUNID# = MODIFY_SYSTEM (AGENT_UPGRADE, DEPLOY, "WIN01","LATEST",, "TST" )
:PRINT &RUNID#

Refer to the Documentation link to get more information to this action.

A Foreach-WF can be used to 'automate' the CAU on all Agents.

Solution :

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): Automation Engine and Agent Windows
Will be fixed in Automation.Engine 21.0.5 - Planned release Second Half February 2023

Additional Information

Solution details:
A problem has been fixed where the Windows agent CAU did not work after executing a job with resources.