英文:
Azure Cloud Services Classic - "Deployment could not be created"
问题
"我们有一个云服务,我们一直在部署/更新它,没有问题。在过去的两周里,每次尝试部署该包时,都会出现错误:“无法创建部署 - 处理您的请求时出错。请稍后再试”。
我不知道如何调试这个问题以获取更多详细信息。如果有人有关于如何获得更好的错误描述的建议,将不胜感激。
此部署中唯一的更改是包中一些静态文件的更改,因此不清楚是什么导致了问题。我们的流程是:(1)构建包,(2)上传包,(3)在暂存环境中部署。包已上传,但在部署(第3步)时失败。
有关问题是什么或如何获得更好的诊断信息的任何帮助都将非常有用。"
英文:
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.
答案1
得分: 1
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 deploy to that. I assume this then moved that whole service to a totally new cluster.
我不得不创建一个新的云服务(获取新的IP地址等),然后部署到那里。我猜这将整个服务移动到一个全新的集群。
The two links below share more information.
以下两个链接分享了更多信息。
https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-allocation-failures
英文:
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
答案2
得分: 0
有可能是云服务提供商所使用的平台或部署流程存在问题。
您可以检查部署日志,看是否有任何错误消息或警告,这些信息可能会提供更多关于问题的信息。并使用诊断和解决问题来获取更多信息。
尝试使用其他方法或工具来部署包,这可以帮助确定问题是否与我创建的部署流程有关。我创建了一个类似下面的云服务(经典):
确保服务配置的包允许格式为服务配置文件。服务配置文件不与应用程序一起打包,而是作为单独的文件上传到Azure,并用于配置云服务。如果您上传了新的服务配置文件,不需要重新部署云服务。一旦云服务正在使用中,配置参数可以被修改。
参考:
英文:
It seems like there may be a problem with the platform or deployment procedure used by the cloud service provider.
You can check the deployment logs if there are any error messages or warnings that might provide more information about the issue. and use diagnose and solve problem to more information
Try to use an alternative way or tool to deploy the package, This can support to determining whether the problem is unique to the deployment procedure I created a Cloud service (classic) like below:
Make sure the packages of service configuration allowable format of service configuration file. The service configuration file is not packaged with the application, but is uploaded to Azure as a separate file and is used to configure the cloud service You don't need to re-deploy your cloud service if you upload a new service configuration file. Once the cloud service is in use, the configuration parameters can be altered.
Reference:
Create and deploy a cloud service (classic) | Microsoft Learn
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论