如何删除包含租用 Blob 的 Azure 存储帐户? [英] How do I delete an Azure storage account containing a leased blob?

查看:30
本文介绍了如何删除包含租用 Blob 的 Azure 存储帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在玩 Windows Azure 持久虚拟机.最后,我删除了虚拟机(成功)并尝试删除关联的存储帐户.

I was playing with Windows Azure durable virtual machines. In the end, I deleted the virtual machine (successfully) and tried to delete the associated storage account.

删除存储帐户的请求失败.

The request to delete the storage account fails.

在预览门户 (manage.windowsazure.com) 上删除存储帐户时出现此错误:

On the Preview Portal (manage.windowsazure.com) when I delete the storage account I get this error:

Failed to delete Storage account 'portalvhdscwtwycpsxxxxx'

Details:

Storage account portalvhdscwtwycpsxxxxx has 1 container(s) which have an active image and/or disk artifacts. Ensure those artifacts are removed from the image repository before deleting this storage account.

在以前的门户 (windows.azure.com) 上,我收到此错误:

On the previous portal (windows.azure.com) I get this error:

Submit Failed

Storage account portalvhdscwtwycpsxxxxx has 1 container(s) which have an active image and/or disk artifacts. Ensure those artifacts are removed from the image repository before deleting this storage account.

尝试在 Azure 存储资源管理器上删除 blob 本身(30GB VHD)时出现此错误:

Trying to delete the blob itself (a 30GB VHD) on Azure Storage Explorer I get this error:

There is currently a lease on the blob and no lease ID was specified in the request.

所以我的评估是这个 blob 是租用的(由以前的、现在已删除的虚拟机租用),除非我能得到这个租用 ID,否则我无法删除它.

So my assessment is that this blob is leased (by the previous, now deleted virtual machine) and I can't delete it unless I can get this lease ID.

问题是:我怎样才能删除这个 blob,从而删除存储帐户?

The question is: how can I delete this blob and, consequently, the storage account?

推荐答案

解决方案的关键是容器具有活动磁盘工件的消息以及将其从存储库中删除的建议.

The key to the solution is the message that the container has an active disk artifact and the advice to remove it from the repository.

从 blob 存储库中删除磁盘映像的过程是:

The procedure to remove the disk image from the blob repository is:

之后,可以删除存储帐户.

After that, the storage account can be deleted.

注意事项:

  • 即使您已经删除了所有虚拟机并且显示为 0,这也适用;磁盘选项卡下仍然会有工件.
  • 磁盘与已删除的虚拟机异步分离,删除虚拟机后可能需要几分钟才能清除此字段.

另见:无法删除 VHD,该 blob 目前有租约……"

这篇关于如何删除包含租用 Blob 的 Azure 存储帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆