Automation Central Jobs failed to run in Aria Operations
search cancel

Automation Central Jobs failed to run in Aria Operations

book

Article ID: 373962

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

When using Automation Central in Aria Operations to schedule a restart or power on/off of a VM the job fails with just "Error" in the History tab.

In the actionScheduler logs:

2024-08-26T18:11:13,055+0000 ERROR [pool-46-thread-13] com.vmware.vcops.analytics.action.schedule.runner.RemActionRunner.convertToTaskResult - Action #### run failed with status ACTION_NEVER_STARTED; error msgs: [No resources provided to run action on. Execution Aborted]}; warn msgs: []}; info msgs: []

In the actions-data logs:

15:11:13 ART 2024, entryKind='action start status', entryState=NO_DISPATCH, stampedInfoMessages=[StampedMessage{fractionalSecs='.049000', timeStamp=Mon Aug 26 15:11:13 ART 2024, message='Triggering from action schedule [test 4]'}], stampedWarningMessages=[], stampedErrorMessages=[StampedMessage{fractionalSecs='.049000', timeStamp=Mon Aug 26 15:11:13 ART 2024, message='No resources provided to run action on. Execution Aborted'}], asyncStatuses=[], actionReturnResults=null, resourceUUid='null'}], jobParameters=[], triggeredAutomatically=true, triggeringSource='Schedule', triggeringEventId='<event ID>', triggeringEventName='####', actionContextKey='Reboot Guest OS For VM', actionKey='Reboot Guest OS For VM', startDate=Mon Aug 26 15:11:13 ART 2024, completionDate=null, contextResourceUUIDs=[]} com.vmware.statsplatform.persistence.remediation.JobContext@b99a3b8]

 Automation Central Jobs to delete the old snapshots failed to run.

The job may also show a status of 'Not Dispatched' in Administration > Recent Tasks

Environment

Aria Operations 8.x.x

Cause

Insufficient Permissions for Operational Actions on vCenter

Resolution

Aria Operations require Operational permissions to perform certain actions like delete Old Snapshots, Powered off VMs, Idle VMs and Power Off idle VMs.

We can allow Aria Operations to have certain permissions by checking the option "Operational Actions" under Data Source > Integration > vCenter Adapter. Below is the example:

 

Additional Information

Please refer to below document for more information on Automation Central.

"Operational Actions must be enabled in the vCenter cloud adapter instance to run actions from Automation Central."

https://docs.vmware.com/en/VMware-Aria-Operations/8.18/Configuring-Operations/GUID-C3A12D65-C860-457D-BE0C-03E3DB79BD6A.html