【问题标题】:Octopus Deploy: Operation returned an invalid status code 'Conflict'Octopus Deploy:操作返回了无效的状态代码“冲突”
【发布时间】:2020-12-29 16:23:14
【问题描述】:

我关注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 octopus-deploy


    【解决方案1】:

    我的 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 订阅重新启用时(再次没有通知),我可以在 Octopus 上部署我的包,现在一切都按预期工作了。

    【讨论】:

      猜你喜欢
      • 2021-03-08
      • 2020-09-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多