/services-logs/prelude/provisioning-service-app/file-logs/provisioning-service-app.log contains the following error messages.
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Failed to retrieve properties.Fault received from vCenter [...] The session is not authenticated.Existing connection has been closed or is invalid. Removing it from pool.Transient communication issues between Aria Automation and vCenter an cause data collection to become stuck requiring a restart to resolve
Where the data collection job is getting stuck due to issues on the service pods, we can resolve it in two ways:
curl -kv --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": {
"enumerationTaskState": "FAILED"
},
"privateKey":"<vSphere_password>",
"privateKeyId":"<vSphere_username>"
}'
kubectl -n prelude get pods | grep provisioning-service-appkubectl -n prelude delete pods <POD1> <POD2> <POD3>
For the same issue regarding image synchronization, see KB 326017: Restarting stuck image synchronization in VMware Aria Automation