Skip to content

Commit e6e3b13

Browse files
committed
add TS section for storage account
1 parent 36a3696 commit e6e3b13

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

azure-stack/hci/manage/troubleshoot-arc-enabled-vms.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Arc VM management
33
description: Learn how to troubleshoot Azure Arc VM management
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 07/26/2024
6+
ms.date: 09/06/2024
77
ms.author: alkohli
88
ms.reviewer: vlakshmanan
99
---
@@ -75,6 +75,35 @@ Follow these steps to verify that the Managed Identity isn't created for this VM
7575
7676
:::image type="content" source="./media/troubleshoot-arc-enabled-vms/managed-identity-missing-3.png" alt-text="Screenshot of JSON view when Managed Identity is enabled." lightbox="./media/troubleshoot-arc-enabled-vms/managed-identity-missing-3.png":::
7777
78+
## Failure deploying a VM image from a storage account
79+
80+
You see the following error when trying to deploy a VM image from a storage account on your Azure Stack HCI cluster:
81+
82+
**Error:** `{"code":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=AuthorizationPermissionMismatch) =====\nDescription=, Details: (none)\n","message":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=AuthorizationPermissionMismatch) =====\nDescription=, Details: (none)\n"}`
83+
84+
Or, you see this error:
85+
86+
**Error:** `{"code":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=NoAuthenticationInformation) =====\nDescription=, Details: (none)\n","message":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=NoAuthenticationInformation) =====\nDescription=, Details: (none)\n"}`
87+
88+
The failure occurs because the user creating the image does not have the right permissions to access the image from the storage account. The user must have the **Storage Blob Data Contributor** role on the storage account that you use for the image. For more information, see [Assign Azure roles](/azure/role-based-access-control/role-assignments-portal?tabs=current) for access to blob data.
89+
90+
**Resolution:**
91+
92+
Add the **Storage Blob Data Contributor** role to the user that needs to create an image from this storage account. Once role has been added, retry deploying the image.
93+
94+
You may also see the following error when trying to deploy a VM image from a storage account:
95+
96+
**Error:** `{"code":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=InvalidBlobType) =====\nDescription=The blob type is invalid for this operation.\nRequestId:5e74055f-e01e-0033-66eb-ff9734000000\nTime:2024-09-05T23:32:56.3001852Z, Details: (none)\n","message":"moc-operator galleryimage serviceClient returned an error while reconciling: rpc error: code = Unknown desc = ===== RESPONSE ERROR (ErrorCode=InvalidBlobType) =====\nDescription=The blob type is invalid for this operation.\nRequestId:5e74055f-e01e-0033-66eb-ff9734000000\nTime:2024-09-05T23:32:56.3001852Z, Details: (none)\n","additionalInfo":[{"type":"ErrorInfo","info":{"category":"Uncategorized","recommendedAction":"","troubleshootingURL":""}}]}`
97+
98+
This failure is because the blob type is not correct within the storage account. The image must be of `page blob` type.
99+
100+
**Resolution:**
101+
102+
Upload the image into your storage account in `page blob format` and retry deploying the image.
103+
104+
Ensure that the user has the right permissions, and the blob is in the correct format. For more information, see [Add VM image from Azure Storage account](virtual-machine-image-storage-account.md?tabs=azurecli#prerequisites).
105+
106+
78107
## Failure deploying an Arc VM
79108
80109
You see the following error when trying to deploy an Arc VM on your Azure Stack HCI cluster:

0 commit comments

Comments
 (0)