VMware is aware of this issue. See the Workaround below for additional information.
Workaround:
- Validate that vCenter is healthy: Clone a virtual machine from the same template you are trying to provision from.
- If this operation fails or generates an error, resolve this issue in vCenter then move to Step #2.
- If you are working with VMware Aria Automation 8.x (On-Premises) restart the provisioning service pod.
kubectl delete pod -n prelude provisioning-service-pod-name
- If restarting the service does not alleviate the issue, you may use the following API to mark the image synchronization as FAILED, then, VMware Aria Automation will retry a new image synchronization.
curl --location --request PATCH 'https://<FQDN>/iaas/api/cloud-accounts/<cloud_account_id>?apiVersion=2021-07-15' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customProperties": {
"imageEnumerationTaskState": "FAILED"
},
"privateKey":"<username_password>",
"privateKeyId":"<username>"
}'
Note:
- <FQDN>: Is the VMware Aria Automation FQDN on premises.
- <access_token>: Generated following the next steps:
- <cloud_account_id>,<username>: May be obtained from the browser. Otherwise by running the API GET /iaas/api/cloud-accounts
