Octopus Deploy:操作返回了无效的状态代码“冲突”

问题描述

我按照 this guide 通过 Azure Devops 和 Octopus Deploy 部署到 Azure。它在前两个部署中工作,但是当我进行一些新的更改时,我现在收到以下错误消息:

The step Failed: Activity Deploy an Azure Web App on AspDotNetCore Failed with error 'The remote script Failed with exit code 100'.

deploying to Azure WebApp 'MyAPI' in Resource Group 'MyApp',using subscription-id '<Subscription ID>'
Running rollback behavIoUrs... 
Operation returned an invalid status code 'Conflict' 
Microsoft.Azure.Management.WebSites.Models.DefaultErrorResponseException
   at Microsoft.Azure.Management.WebSites.WebAppsOperations.        
<ListPublishingProfileXmlWithSecretsWithHttpMessagesAsync>d__148.MoveNext()
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.Azure.Management.WebSites.WebAppsOperationsExtensions. 
<ListPublishingProfileXmlWithSecretsAsync>d__287.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.AzureWebApp.Integration.Websites.Publishing.ResourceManagerPublishProfileProvider.            
<GetWebDeployPublishProfile>d__3.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.AzureWebApp.Integration.Websites.Publishing.ResourceManagerPublishProfileProvider. 
<GetPublishProperties>d__2.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.AzureWebApp.AzureWebAppBehavIoUr.<Execute>d__4.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.Common.Plumbing.Pipeline.PipelineCommand.<ExecuteBehavIoUr>d__16.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.Common.Plumbing.Pipeline.PipelineCommand.<Execute>d__13.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at Calamari.Common.Plumbing.Pipeline.PipelineCommand.<Execute>d__13.MoveNext()
--- End of stack trace from prevIoUs location where exception was thrown --- 
   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Calamari.Common.CalamariFlavourProgramAsync.<Run>d__4.MoveNext()
The remote script Failed with exit code 100 
The action Deploy an Azure Web App on AspDotNetCore Failed

有人知道是什么问题吗?

解决方法

我对 Azure 的订阅已被禁用(恕不另行通知)。

We've identified suspicious activity in this subscription. To protect your account,we've disabled the subscription. Please contact Azure Support to resolve the issue.

编辑:当 Azure 订阅重新启用(再次没有通知)我可以在八达通上部署我的包,现在一切都按预期工作了。

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...