#azure #octopus-deploy
#azure #octopus-развертывание
Вопрос:
Я следовал этому руководству для развертывания в Azure через Azure Devops и Octopus Deploy. Он работал при первых двух развертываниях, но когда я внес некоторые новые изменения, теперь я получаю следующее сообщение об ошибке:
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
Кто-нибудь знает, в чем проблема?
Ответ №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, и теперь все снова работает, как ожидалось.