Price Sync task stuck in VMware Aria Automation 8.x
search cancel

Price Sync task stuck in VMware Aria Automation 8.x

book

Article ID: 424737

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Accessing the VMware Aria Operations integration within the VMware Aria Automation Assembler UI (under Infrastructure > Integrations), the SYNC PRICES task never completes and shows the status provLib.shared.message.syncPriceProgress

  • Executing a GET API call against the VMware Aria Operations integrations endpoint (https://<Aria-Automation-FQDN>/iaas/api/integrations/<INTEGRATION-id>?apiVersion=2021-07-15) returns the status of "lastRunningPriceSyncStatus" as "IN_PROGRESS".

Environment

VMware Aria Automation 8.x

Resolution

Take a non-memory snapshot of the VMware Aria Automation instance and follow the steps below:
  1. Obtain a Bearer token to use for the API calls by following the article Generate an Access Token and Bearer Token in VMware Aria Automation for API Authentication

  2. Obtain the Integration ID and the Username from the UI by opening the respective VMware Aria operations integration within the VMware Aria Automation Assembler UI under Infrastructure Integrations. The Integration ID is the UUID in the URL, soon after '%2F'.

  3. Submit a PATCH request to your Aria Automation integrations API endpoint:
    URL : https://<Aria-Automation-FQDN>/iaas/api/integrations/<INTEGRATION-id>?apiVersion=2021-07-15
    Body : 

    {  "privateKeyId": "Username",
       "privateKey": "Password",
      "customProperties": {
        "lastRunningPriceSyncStatus": "SUCCESSFUL"
      }
    }

    Note: Ensure to replace Username and Password with the actual integration credentials noted in step 2.

    Status code 202 Accepted indicates that the above API call is successful.

  4. Return to the VMware Aria Automation Assembler UI, navigate to Infrastructure > Integrations > VMware Aria Operations endpoint. Manually trigger the price sync task and monitor the task. Status provLib.shared.message.priceSyncCompletedTimeAgo indicates that the sync completed successfully.