Search code examples
azure-cloud-servicesazure-deployment-slots

Azure Cloud Services Classic - "Deployment could not be created"


We have a Cloud Service that we have been deploying/updating without issue. In the past two weeks every time we try to deploy the package we are getting the error "Deployment could not be created - There was an error processing your request. Try again in a few moments".

I am at a loss as to how to even debug the issue to get more detail. if anybody has any advice on how to get a better error description would be appreciated.

The only changes in this deployment are some changes to the static files in the package so it is unclear what is causing the issue. The process we use is (1) build the package, (2) upload the package, (3) deploy in the staging environment. The package gets uploaded but fails to deploy (step 3).

Any help as to what the issue is or how to get better diagnostic information woudl be great.


Solution

  • It appears that when an instance gets deployed that cloud service gets pinned to a cluster. If the cluster runs out of space then no further deployments can be made.

    This is independent to how much space an individual subscription has as a cluster appears to be used by multiple subscriptions.

    I had to create a new cloud service (getting new IP address etc) and deloy to that. I assume this then moved that whole service to a totally new cluster.

    The two links below share more information.

    https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-allocation-failures

    https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-troubleshoot-constrained-allocation-failed