2014-02-14 75 views
1

有誰知道這個解決方案嗎? 我想知道是否需要簽約MSFT支持。無法刪除存儲帳戶

使用Azure Ruby SDK嘗試: 創建虛擬機 - 工作 虛擬機斷電,開機 - 正常工作。 讓它出現並嘗試刪除虛擬機 - 在最後階段失敗。

這裏是什麼VM刪除生產:

刪除雲服務的部署 「QA-SDK-的ubuntu-2」 ... 成功(200)

刪除雲服務QA-SDK-的ubuntu -2。 等待磁盤被釋放。

正在刪除磁盤「qa-sdk-ubuntu-2-qa-sdk-ubuntu-2-0-201402132358010165」。 HTTP錯誤400

此外,然後從門戶網站嘗試過同樣的事情,得到了400以下消息:

{""message": 
    "Storage account qasdkubuntu2storageruvdl has 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.", 
    "ErrorMessage":"Storage account qasdkubuntu2storageruvdl has 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.", 
    "httpStatusCode":"BadRequest","operationTrackingId":"ec03fe06212d61f49786aee29563a661","stackTrace":null,"Padding":null} 

回答

1

您不能刪除您的存儲帳戶,因爲它存儲你的虛擬機的磁盤。

這裏的設置將其刪除:

1,登錄到Windows Azure Managemente門戶

2的虛擬機

3磁盤並選擇磁盤

4點擊「刪除磁盤」。

之後,您可以刪除存儲帳戶。

+0

是的,試過了,並給出了與消息相同的400(請參閱與json正文中的原始帖子) – user3230389

+0

所有參考指向此解決方案:http://stackoverflow.com/questions/10969012/how-do- i-delete-an-azure-storage-account-containing-a-leased-blob http://manasbhardwaj.net/windows-azure-failed-to-delete-storage-account/ http://blogs.technet.com /b/danstolts/archive/2013/09/17/windows-azure-delete-storage-containers-disks-and-images-step-by-step.aspx –

+0

您也可以嘗試使用PowerShell的cmdlet:http:// blogs.technet.com/b/danstolts/archive/2013/09/17/windows-azure-delete-storage-containers-disks-and-images-step-by-step.aspx –