microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
738 stars 546 forks source link

Unable to deploy Arcmanaged VM from Azure Portal #2599

Closed rohillalakhan closed 2 months ago

rohillalakhan commented 3 months ago

Hi Team,

I have successfully deployed Azure Stack HCI (23H2) JumpStart Box in Azure. Created a VM Image as well with 2025 Server image attached to it. While created vm via portal, getting below errror>

moc-operator virtualmachine serviceClient returned an error while reconciling: rpc error: code = NotFound desc = Type[GalleryImage], Location[MocLocation], Name[OSImage]: Not Found (Code: NotFound)

I have checked, there is no issue with the image attached to it. Please help

dkirby-ms commented 2 months ago

Can you share a screenshot? Did you upload a new image for WS2025 to the VM images gallery?

rohillalakhan commented 2 months ago

@dkirby-ms PFA updated screenshots from today's deployment which got failed as well. deploymentfailed vmImage VMValidation

dkirby-ms commented 2 months ago

What kind of image is this? Which OS?

rohillalakhan commented 2 months ago

Windows Server 2025 Fixed image file in vhd format.

Get Outlook for iOShttps://aka.ms/o0ukef


dkirby-ms commented 2 months ago

Only gallery images have been tested with HCIBox. I suggest trying with one of the OS versions supported by gallery images and ensure that is working.

rohillalakhan commented 2 months ago

We don’t get option to use Gallery Images. You only get VMImage option available under HCI Cluster section and while creating vmimage, you get option to either select image from Market Place or Storage Account or Local system.

Get Outlook for iOShttps://aka.ms/o0ukef


dkirby-ms commented 2 months ago

Sorry, I meant marketplace images, not gallery images.

rohillalakhan commented 2 months ago

My POC subscription doesn't allow me to use Market Place meaning this HCI Jumpstart is not for the setup i am currently using. Very sad to hear this…☹️

Get Outlook for iOShttps://aka.ms/o0ukef


rohillalakhan commented 2 months ago

Is there any other way to deploy vm in HCI box?

Get Outlook for iOShttps://aka.ms/o0ukef


dkirby-ms commented 2 months ago

You are not able to use this process? https://learn.microsoft.com/en-us/azure-stack/hci/manage/virtual-machine-image-azure-marketplace?tabs=azurecli

What kind of restriction do you have in your subscription?

rohillalakhan commented 2 months ago

Luckily got 2022 Azure edition image available in Market Place. My POC subscription has got limitation on using Market Place Images but now i see some default one listed there. Trying with that. Will keep you posted.

Get Outlook for iOShttps://aka.ms/o0ukef


dkirby-ms commented 2 months ago

@rohillalakhan Any update here? Can we close this?

rohillalakhan commented 2 months ago

Hi Dale,

Good morning!

Yes, it worked for me from Market Place and functioning as expected. I will mark it as closed today. Thanks for your support!

Get Outlook for iOShttps://aka.ms/o0ukef