Scheduled workflows disappear from Aria Automation Orchestrator client
search cancel

Scheduled workflows disappear from Aria Automation Orchestrator client

book

Article ID: 314692

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Scheduled workflows disappear from Aria Automation Orchestrator client.
  • The Orchestrator logfiles /var/log/services-logs/prelude/vco-app/file-logs/vco-server-app.log show errors authenticating the user configured to run the scheduled workflow.
ERROR vco [host='vco-app-<id>' thread='CustomThreadPool's Thread-1' user='' org='' trace=''] {} com.vmware.o11n.security.csp.CspLdapFactory - Can not lookup user <domain>\<Scheduled workflow run user>_at_deploy
org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized: "{"headers":{},"body":{"timestamp":<timestamp>,"type":"CLIENT_ERROR","status":"401 UNAUTHORIZED","error":"Unauthorized","serverMessage":"Authentication failed."},"statusCode":"UNAUTHORIZED","statusCodeValue":401}" 


Cause

The errors outlined in symptoms section authenticating users leads to the scheduled tasks to stop working after the associated authentication token expires.

Resolution

There are improvements to the workflow scheduling engine made in the 8.14 release which should prevent the issue from occurring.

Workaround:

To workaround the issue prior to version 8.14 you can add a system property which will resolve majority of occurrances:

Note: the change requires a restart of the Aria Automation Orchestrator service before proceeding best practice dictates you first snapshot the Aria Automation Orchestrator appliance(s)

1. Login to the Aria Automation Orchestrator control center interface as the root user:

https://<AriaAutomationOrchestratorFQDN>/vco-controlcenter/

2. Navigate to System Properties and select New...

For key enter: com.vmware.o11n.auth.csp.renewTokens

For value enter: true

vROScheduledWFKB.jpg

3. Select ADD & SAVE CHANGES

vroscheduledwf2.jpg

4. The Aria Automation Orchestrator services will restart automatically for changes to take effect.

5. Reschedule the workflow run.