尝试创建Azure SQL逻辑服务器时,更新LogicalServerRequestAlreadyInProgress

q9yhzks0  于 2023-01-21  发布在  其他
关注(0)|答案(1)|浏览(100)

我有Azure DevOpe管道,它一直工作得很好很好,但昨天我突然得到showstopper错误。管道没有给出错误,但SQL逻辑服务器没有创建。我删除了资源组中的所有资源。然后我再次执行管道。我得到“正在进行的逻辑服务器请求已经在进行中,请稍后重试您的请求”错误。我已经24小时无法创建逻辑服务器。
我以为我可以从Azure门户取消部署,但我没有看到任何部署出错。我该怎么办?
Azure开发运营上的错误:

C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive - 
ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\43a1dcab-bbff-4fd8-8cc7-5773945858fa.ps1'"
Import-Module -Name C:\Modules\az_4.3.0\Az.Accounts\1.9.1\Az.Accounts.psd1 -Global
Clear-AzContext -Scope Process
Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
Connect-AzAccount -ServicePrincipal -Tenant *** -Credential System.Management.Automation.PSCredential 
-Environment AzureCloud @processScope
Set-AzContext -SubscriptionId 0000000000000000000 -TenantId ***
strtempdigiopsdev
##[error]9:15:12 AM - The deployment 'TemplateMasterDeployment' failed with error(s). Showing 2 out 
of 2 error(s).
Status Message: The resource operation completed with terminal provisioning state 'Failed'. (Code: 
ResourceDeploymentFailure)
 - An ongoing logical server request is already in progress, please try your request again later. 
(Server Name: sql-srv-dev, RequestId: 2dea2656-e3dd-40b8-a7e0-c72cfe4e5bba, SubscriptionId: 
0000000000000000000 , ResourceGroup: rg-az-dev) 
(Code:UpsertLogicalServerRequestAlreadyInProgress)

Status Message: The resource operation completed with terminal provisioning state 'Failed'. (Code: 
ResourceDeploymentFailure)
 - At least one resource deployment operation failed. Please list deployment operations for details. 
Please see https://aka.ms/DeployOperations for usage details. (Code: DeploymentFailed)
   - {
  "status": "Failed",
  "error": {
  "code": "ResourceDeploymentFailure",
 "message": "The resource operation completed with terminal provisioning state 'Failed'.",
 "details": [
  {
    "code": "UpsertLogicalServerRequestAlreadyInProgress",
    "message": "An ongoing logical server request is already in progress, please try your request again later. (Server Name: sql-srv-dev, RequestId: 2dea2656-e3dd-40b8-a7e0-c72cfe4e5bba, SubscriptionId: 0000000000000000000 , ResourceGroup: rg-az-dev)"
  }
]

} }(代码:冲突)

zujrkrfu

zujrkrfu1#

我设法通过删除资源组本身使其工作。

相关问题