New Question
0

Windows Server 2022 support

asked 2021-10-14 14:22:38 +0200

flowloic gravatar image

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 VM with 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"

I know Windows Server 2022 is not yet supported, but do you have an estimate when that's going to change? Or is there a workaround?

BR, Loïc

edit retag flag offensive close merge delete

Comments

I am seeing this same behavior with the March 2023 version of Windows Server 2022 except I have a cmd box that just sits there forever (it never starts up). When I close the cmd prompt I get: Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified

sarhaynes gravatar imagesarhaynes ( 2023-04-12 00:08:24 +0200 )edit

The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Deployment].

sarhaynes gravatar imagesarhaynes ( 2023-04-12 00:09:32 +0200 )edit

Hello, can you please share the ISO name, your environment (hypervisor/OS versions/KVM/Libvirt versions/virtio driver versions) and the eventual errors that you are getting? I am interested in the logs present in C:\Windows\Panther folder. If you press SHIFT+F10, you ll get a CMD to navigate around

avladu gravatar imageavladu ( 2023-04-12 09:10:44 +0200 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2023-04-17 18:17:31 +0200

I have figured out to resolve the problems I was having: In the cloudbase-init-unattend.conf I had to remove the NetworkConfigPlugin, LocalScriptsPlugin, and NTPClientPlugin. Once I did this both issues I was having went away (long delay and constant reboot).

I also had to set allow_reboot to false in cloudbase-init.conf file (it was already false in cloudbase-init-unattend.conf).

edit flag offensive delete link more
0

answered 2021-10-15 00:22:17 +0200

avladu gravatar image

Hello,

I have checked cloudbase-init run on Windows Server 2022 and everything looks fine. I could not reproduce any error related to networking or any other issue for that matter.

Windows Server 2022 is an incremental version, so there should not be any Windows API surface backward compatibility issues.

Can you please share any relevant information that can help debug the issue? if possible, can you share the following: Cloudbase-init logs, virtio driver version that you used, network metadata that had to be applied.

Thank you,
Adrian Vladu

edit flag offensive delete link more

Comments

Hi Adrian, Thanks for your quick relpy! Well, yeah everything works fine otherwise, it's just the hang while deploying, very weird. I tried it with different virtio drivers (0.1.196 and 0.1.208), same behavior. How can I share the logs with you? The space here is rather limited. BR,

flowloic gravatar imageflowloic ( 2021-10-15 17:47:39 +0200 )edit

Pastebin works, if possible.

avladu gravatar imageavladu ( 2021-10-18 13:37:35 +0200 )edit

Sure! https://pastebin.com/xXGXrAAL thx for the help!

flowloic gravatar imageflowloic ( 2021-10-18 14:04:03 +0200 )edit

Let me know if there's any other information you might need! The pastebin site has expired here is a new one: https://pastebin.com/qXZhzKvb BR

flowloic gravatar imageflowloic ( 2021-10-21 18:17:35 +0200 )edit

I tried a few things when creating the image but I always have the same issue. Any ideas what might be the cause? Were you able to check the logs?

flowloic gravatar imageflowloic ( 2021-11-04 11:02:52 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2021-10-14 14:22:38 +0200

Seen: 1,161 times

Last updated: Apr 17 '23