简体   繁体   English

Azure 管道在部署槽中失败

[英]Azure Pipelines fails in Deployment Slots

I have created my release pipeline with few stages (DEV, QA, Production) where the Production App Service has a Deployment Slot with Auto Swap Enabled.我创建了包含几个阶段(DEV、QA、生产)的发布管道,其中生产应用程序服务具有启用了自动交换的部署槽。 However when I perform the release, it fails in the swapping slot tasks with the below error message.但是,当我执行发布时,交换槽任务失败并显示以下错误消息。 Have gone through many articles available in google and stack overflow but doesn't seem to help.浏览了 google 和 stack overflow 中可用的许多文章,但似乎没有帮助。 Any pointers on what could be wrong would be very much helpful.任何关于可能出错的指示都会非常有帮助。

2021-08-18T16:30:41.0295503Z ##[error]Error: Failed to swap App Service 'jdmessaging' slots - 'preprod' and 'production'. Error: Conflict - Cannot modify this site because another operation is in progress. Details: Id: 32473596-226d-46b4-9c98-31285c27418e, OperationName: SwapSiteSlots, CreatedTime: 8/18/2021 4:28:43 PM, WebSystemName: WebSites, SubscriptionName: 74d83097-e9c9-4ca7-9915-7498a429def4, WebspaceName: DEMO-CentralUSwebspace, SiteName: jdmessaging, SlotName: preprod, ServerFarmName: , GeoOperationId: (null) (CODE: 409)

Note: For the first time, the release happened successfully with Deployment Slots.注意:首次使用部署槽成功发布。 However, now we are trying the second release and encountered this issue.但是,现在我们正在尝试第二个版本并遇到这个问题。

This issue seems like more of the scenario,这个问题似乎更多的是场景,

  1. One Operation triggered was yet to complete, meanwhile another operation was trigged on the same site (site modification)触发的一个操作尚未完成,同时在同一站点上触发了另一个操作(站点修改)
  2. Second operation was waiting for first operation to complete on the same and ultimately the second operation failed第二个操作正在等待第一个操作完成,最终第二个操作失败

Suggestion:建议:

  1. Wait for sometime and re-try the operation.稍等片刻,然后重试该操作。 It should succeed.它应该会成功。
  2. If still failed, please create a technical support ticker by following the link where technical support team would help you in troubleshooting the issue from platform end.如果仍然失败,请点击链接创建技术支持代码,技术支持团队将帮助您从平台端解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 数据块和 ADF 部署对运行作业/管道的影响 - Impact of Azure databricks and ADF deployment to running jobs/pipelines 可以安Azure YAML管道<deployment job>使用变量环境?</deployment> - Can an Azure YAML Pipelines <deployment job> use variable environments? Azure ADO 发布管道中的 App Service Deployment Slot 和 Key Vault 映射 - Azure App Service Deployment Slot and Key Vault mapping in ADO Release pipelines Azure 通过开发操作管道的云服务扩展部署失败 - Azure Cloud Service Extended deployment via dev ops pipeline fails 将 Angular 应用程序部署到 Azure 存储帐户失败,连接超时 - Deployment of Angular App to Azure Storage Account fails with connection timeout Azure 应用服务 - Kudu 部署失败“缺少作曲家可执行文件” - Azure App Service - Kudu deployment fails "Missing composer executable" 在 Azure 管道上安装程序 - Install program on Azure Pipelines Azure sku Standard_LRS 的存储帐户 bicep 部署失败 - Azure Storage Accounts bicep deployment fails for sku Standard_LRS Azure Web Node.js 项目服务部署失败 - Azure Web Service Deployment fails for Node.js project Django 应用程序与 Azure AD 帐户身份提供商部署到 Azure Web 应用程序服务失败 - Django app with Azure AD account identity provider deployment to Azure Web app service fails
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM