VMC Cloud Account Configured as Agent Atlas Platform in Aria Automation 8.x (On-Prem) fails to validate.
search cancel

VMC Cloud Account Configured as Agent Atlas Platform in Aria Automation 8.x (On-Prem) fails to validate.

book

Article ID: 385878

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

During the migration of Aria Automation from a SaaS-based environment to an On-Prem version (8.x), the validation of the VMC (VMware Cloud on AWS) cloud account fails, and the below error message is displayed.

Environment

Aria Automation 8.x

Cause

The AAP (Agent Atlas Platform) configuration is only supported in SaaS environments, not in On-Prem environments. As a result, this configuration causes issues when attempting to validate the cloud account in the On-Prem Aria Automation environment.

Resolution

The "environment" custom property set to "AAP (Agent Atlas Platform)" must be removed from the cloud account configuration to make it compatible with the On-Prem Aria Automation 8.x.

The following steps should be taken to resolve the issue:

Make sure to have a snapshot of the Aria Automation appliance.

Use Postman (preferred) or CURL to make the following API calls to Aria Automation 8.x.

Use a valid bearer token for authentication.

  • Retrieve the VMC Cloud Account:

GET https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<VMC-endpoint-ID>

  • Patch the VMC Cloud Account to Remove Agent Atlas Platform Environment Variable:

PATCH https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<VMC-endpoint-ID>

Use the following JSON body to remove the Agent Atlas Platform custom property:

{
  "entriesToAdd": {},
  "keysToRemove": {
    "customProperties": [
      "environment"
    ]
  },
  "kind": "com:vmware:xenon:common:ServiceStateMapUpdateRequest"
}

  • Retrieve the vSphere Cloud Account to Remove Agent Atlas Platform Environment Variable:

GET https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<vSphere-endpoint-ID>

  • Patch the vSphere Cloud Account to Remove Agent Atlas Platform Environment Variable:

PATCH https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<vSphere-endpoint-ID>

Use the following JSON body:

{
  "entriesToAdd": {},
  "keysToRemove": {
    "customProperties": [
      "environment"
    ]
  },
  "kind": "com:vmware:xenon:common:ServiceStateMapUpdateRequest"
}

  • Retrieve the NSX Cloud Account:

GET https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<vSphere-endpoint-ID>

  • Patch the NSX Cloud Account to Remove Agent Atlas Platform Environment Variable:

PATCH https://{vRA-root-uri}/provisioning/uerp/resources/endpoints/<vSphere-endpoint-ID>

Use the same JSON body to remove the "environment" custom property:

{
  "entriesToAdd": {},
  "keysToRemove": {
    "customProperties": [
      "environment"
    ]
  },
  "kind": "com:vmware:xenon:common:ServiceStateMapUpdateRequest"
}

  • Close the Cloud Account if it is open in the UI, then validate the health of the Cloud Account. This may take 10 minutes to finish the data collection.