简体   繁体   English

无法删除存储帐户:Azure

[英]Unable to delete Storage Account : Azure

I have a storage account in my Azure sub which I am trying to delete.我的 Azure sub 中有一个存储帐户,我正在尝试删除它。 When I try to do so, it says I have a storage account in my Azure which I cant delete.当我尝试这样做时,它说我的 Azure 中有一个无法删除的存储帐户。 When I try to delete that it says当我尝试删除它时,它说

Failed to delete storage account <storage acc name>. Error: An operation is currently performing on this storage account that requires exclusive access.

I have tried multiple times, even after waiting, but nothing is working.即使在等待之后,我也尝试了多次,但没有任何效果。 Any solution?有什么解决办法吗?

如果您等待并仍然面临问题,则必须向 Azure 支持部门开具支持票以解决问题。

Please try the following:请尝试以下操作:

  • Login as (or ask your) global admin and attempt to delete the storage account以(或询问您的)全局管理员身份登录并尝试删除存储帐户

  • Unlikely but if the above fails ask Global Administrator add themselves as a Storage Blob Data Owner and then try to delete the Storage Account.不太可能,但如果上述操作失败,请让全局管理员将自己添加为存储 Blob 数据所有者,然后尝试删除存储帐户。

  • Remove Resource Lock解除资源锁定

  • In my case Microsoft support are attempting to delete the storage account.就我而言,Microsoft 支持正试图删除存储帐户。 All other workflows failed.所有其他工作流都失败了。 Will post RCA when isolated.隔离时将发布 RCA。 Note this is using Professional Direct support contract.请注意,这是使用专业直接支持合同。

For reference I logged into the Azure portal with an account with no support contract to test your condition.作为参考,我使用没有支持合同的帐户登录 Azure 门户来测试您的状况。 I was able to create a support ticket but with a very limited set of options, under the TECHNICAL heading, only AZURE INFORMATION PROTECTION option was available for example.我能够创建支持票,但选项集非常有限,例如,在技术标题下,只有 AZURE INFORMATION PROTECTION 选项可用。

在此处输入图片说明

My storage account deletion issue has highlighted an error condition exists where a Global Admin user is unable to delete a storage resource containing no data or resource lock.我的存储帐户删除问题突出显示了一个错误情况,即全局管理员用户无法删除不包含数据或资源锁定的存储资源。 In this case Microsoft are actioning the removal of the problem resource following several weeks of calls , threads and remote sessions.在这种情况下,经过数周的调用、线程和远程会话,Microsoft 正在采取措施删除问题资源。

I suggest you attempt to raise a ticket via any means , highlight your issue and hopefully Microsoft will internally route the issue to the correct department.我建议您尝试通过任何方式提出问题,突出您的问题,并希望 Microsoft 在内部将问题路由到正确的部门。

Root Cause Analysis根本原因分析

  • An operation to delete the storage account was never finished Azure side. Azure 端从未完成删除存储帐户的操作。
  • Every operation holds a lock on the storage account to prevent conflicts between different operations.每个操作都会锁定存储帐户,以防止不同操作之间发生冲突。
  • In my case the lock prevented all other operations we performed: deleting, updating, deploying etc.在我的例子中,锁阻止了我们执行的所有其他操作:删除、更新、部署等。

Microsoft are yet to detect which operation exactly was causing the issue but explained similar issues when another user tried to modify the tag of a storage account with misused escape characters. Microsoft 尚未检测到底是哪个操作导致了该问题,但在另一个用户尝试使用滥用转义字符修改存储帐户的标签时解释了类似的问题。

In my case its likely that a DevOps pipeline was modifying the storage account, the request to Azure Resource Management(ARM) was somehow incomplete due to, for example, a network fluctuation / transient error.在我的情况下,DevOps 管道可能正在修改存储帐户,对 Azure 资源管理 (ARM) 的请求在某种程度上不完整,例如由于网络波动/瞬态错误。

Resolution解析度

The way to resolve the issue is Microsoft manually reset the status of the lock on the storage account and release the lock form the storage account.解决该问题的方法是微软手动重置存储帐户上的锁定状态,并从存储帐户中释放锁定。 Delete operations are then possible.然后可以进行删除操作。 Microsoft are taking steps to improve the process.微软正在采取措施改进这一过程。

Was your storage Account Encrypted?您的存储帐户是否已加密? Was your storage Account used as a VDI Blob storage ?您的存储帐户是否用作 VDI Blob 存储?

Thanks and regards, Abdel谢谢和问候, 阿卜杜勒

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM