Aria Automations Requests stuck on Initialization
search cancel

Aria Automations Requests stuck on Initialization

book

Article ID: 376571

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Requests in Aria Automation reach and then get stuck at the Initialization stage

Environment

Aria Automation 8.x

Cause

It is possible for pods in Aria Automation to hold on to old kubernetes service IPs that are no longer present in the environment, causing request related activities to hang as resource enumeration cannot complete

Resolution

First, validate that you are encountering this issue:

  1. SSH to an Aria Automation appliance
  2. Run the following command: grep -r "Service not found" /services-logs/prelude/provisioning-service-app/
  3. Check to see if the output contains any errors like the following:
    1. 2024-09-05T14:00:27.265Z WARN provisioning [host='provisioning-service-app-xxxxxx' thread='xn-index-queries-16' user='' org='' trace='' parent='' span=''] c.v.xenon.common.ServiceErrorResponse.create:83 - message: Service not found: http://10.244.xxx.xxx:8282/provisioning/resource-enumeration-tasks/xxxxxxxxxxxxxxxx, statusCode: 404, serverError Id: xxxxxxxxxxxxxxxx
  4. If you see these errors, run the following command, and insert the IP address from the output of the grep command above:
    1. kubectl get services --all-namespaces | grep '10.244.xxx.xxx'
  5. If step 4 returns nothing then proceed with the resolution below

To resolve restart the services using the following command. This runs for 15-20 minutes in most environments and Aria Automation will be unavailable during this time.

  1. SSH to an Aria Automation appliance
  2. Run the following command: /opt/scripts/deploy.sh