question

akshay95-4928 avatar image
0 Votes"
akshay95-4928 asked akshay95-4928 commented

I cant create virtual machine using Hyper-v on Azure VM windows server 2019

I have Windows server 2019 running as Azure VM. I am trying to create virtual machine inside windows server as nested virtualization. I have Hyper- V running and containers enabled on windows server using this link - https://stackoverflow.com/questions/48255871/failed-to-start-the-virtual-machine-mobylinuxvm-because-one-of-the-hyper-v-com

Still I am getting this error when I create virtual machine -


Can you please help?
137456-vm.png


azure-virtual-machines
image.png (22.9 KiB)
vm.png (17.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

yagmoth555 avatar image
0 Votes"
yagmoth555 answered

Hi

Make sure all HyperV service are running, but more importantly, can you click See detail inside your Windows, to know what is missing.

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

akshay95-4928 avatar image
0 Votes"
akshay95-4928 answered

@yagmoth555
I have rerun this command
Install-WindowsFeature -Name Hyper-V -ComputerName <computer_name> -IncludeManagementTools -Restart

also here is the full error msg 137460-image.png



image.png (37.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered

Which VM size did you deploy? I believe nested virtualization is only supported on the D_v3 and E_v3 series. Possibly the D_v4 and E_v4 series also.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

akshay95-4928 avatar image
0 Votes"
akshay95-4928 answered akshay95-4928 edited

This is the size of my windows server 2019 azure VM -
Is it not possible to run nested virtualization on this machine?
If not is there any way I can run Linux container on this machine?
137479-image.png




image.png (10.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

akshay95-4928 avatar image
0 Votes"
akshay95-4928 answered

I have upgraded from V2 to V3 its working for me now. Ty all :)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered akshay95-4928 commented

Hi @akshay95-4928 ,

only the Dv3 and Ev3 VM sizes are supporting nested virtualization with Hyper-V:
https://azure.microsoft.com/de-de/blog/nested-virtualization-in-azure/

137480-image.png


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten



image.png (13.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.