VMware is aware of this issue. Currently there is no resolution.
Workaround:
To workaround this issue, manually remove the stale entries using REST API.
Warning: This workaround deletes database entries.
Prerequisites
- You have backups of the VMware Aria Automation 8.x appliance(s)
- You must back up all VMware Aria Automation appliances, at the same time - simultaneously for all nodes.
- If you are making the snapshots manually, you must start the snapshots of the second and the third node not more than 40 seconds after you start the snapshots for the first node.
- When you back up the VMware Aria Automation appliance, disable in-memory snapshots and enable quiescing (quiescing is a requirement only for version 8.9 and newer).
- Acquire an Authentication Token
Procedure: Remove the stale entries using the REST API
- Get the affected compute ID
GET https://AriaAutoFQDN/deployment/api/resources?search=VM-Name001
Note:
- Replace AriaAutoFQDN with the FQDN of your Aria Automation environment.
- Replace VM-Name001 with the affected VM name.
- From the output take the ID, for example 20f7eb1b-0cfc-3af0-b364-963face2eb4c.
- Use this ID as compute id below.
- Get the affected compute:
GET https://AriaAutoFQDN/provisioning/uerp/resources/compute/compute id
Take note of compute descriptionLink.
Example:
{
"descriptionLink": "/resources/compute-descriptions/c51a5472-72e8-4ded-afe6-6e41f1caa3b4"
…
}
- Delete compute description from the output in step 2.
DELETE https://AriaAutoFQDN/provisioning/uerp/ComputeDescriptionLink
- Get each disk, delete disk description and update disk state:
Note: Boot disk and external devices such as CD/DVD Drive do not contain descriptionLink. Skip these.
- For each disk entry containing descriptionLink above, take the response body and edit it as such:
- From the tenantLinks field remove the entries which start with /owner/provisioning/auth/csp/users and /provisioning/resources/projects
- Remove the descriptionLink, ownerAuthLink and projectAuthLink fields from the request body.
- Edit the customProperties map to remove the following key-value pairs:
'__blueprint_resource_type'
'__deployment_id'
- '__composition_context_id'
Note: You must remove both key AND the value.
- Send the above edited disk entry back as the request body with a PUT command:
PUT https://AriaAutoFQDN/provisioning/uerp/diskLink
- Update compute tenant links and remove necessary properties.
Take the compute response body received in step 2 and edit it as follows:
- Remove the descriptionLink, ownerAuthLink and projectAuthLink fields from the request body
- From the tenantLinks field remove the entries which start with /owner/provisioning/auth/csp/users and /provisioning/resources/projects
- From the customProperties map remove the key-value pairs with the following keys:
'__composition_context_id'
'__deployment_id'
- Send the above edited compute entry back as the request body to the following command:
PUT https://AriaAutoFQDN/provisioning/uerp/computeSelfLink
- Get each network interface from affected compute response in Step2 and update the network interface state.
a. For each entry in the networkInterfaceLinks field of the get compute above:
GET https://vra8 base uri/provisioning/uerp/networkInterfaceLink
b. For each networkInterface entry, take the response body and edit it as such:
In the tenantLinks field, if there are entries that start with /owner/provisioning/auth/csp/users and /provisioning/resources/projects, remove them.
c. Send the above edited networkInterface entry back as the request body with a PUT command:
PUT https://AriaAutoFQDN/provisioning/uerp/networkInterfaceLink