Troubleshooting Batch Deployment Failure in CI Pipeline
A CI pipeline is set up to create a batch deployment from a pipeline component upon code changes. This pipeline has previously succeeded but started failing today.
Upon reviewing the activity logs, limited information is available. The error message received is:
The resource operation completed with terminal provisioning state 'Failed'.
Several attempts to redeploy have been made, but the deployments are still failing and are listed on the endpoint page with a provisioning state of "Failed."
Attempts to delete the failed deployment resulted in the following error:
Failed to delete endpoint
UserError: A batch deployment under the endpoint '<endpoint>' is currently underway. Only one deployment operation is permitted for an endpoint at a time. Please wait for the current deployment operation to complete and try again.
An update was made to the CI with a new endpoint, and the deployment was created successfully. Seeking advice on what went wrong with the current endpoint, as it is still in use by other services.