cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
414 stars 150 forks source link

Windows Server 22 deployment stuck at renaming NIC #82

Open Flow-loic opened 2 years ago

Flow-loic commented 2 years ago

Hi,

I'm trying to create an image for Windows Server 2022 using virtIO drivers and cloudbase init on Virtuozzo. I am able to create a VM and an image, but when I deploy a new VM with this image it, it takes about 15 minutes for the VM to be ready. Same procedure with Windows Server 2019 deploys the VM in about 2 minutes.

The logs showed it was hanging for about 9 minutes while trying to change the ethernet adapters name: 2021-10-14 12:58:42.066 3544 INFO cloudbaseinit.plugins.common.networkconfig [-] Renaming network adapter "Ethernet" to "tap3b249609-32"

Full Log file here: https://pastebin.com/qXZhzKvb

Has anyone else experienced this issue or has an idea what might cause it?

BR, Loïc

ionutbiru commented 2 years ago

we are seeing the same issue on our vms. did you find any workaround for this issue?