Windows 11 doesn't work on Openstack with Q35 VMs
mariusleu opened this issue · comments
I am creating qcow2 images for Openstack and setting hw_machine_type=q35
in Glance, which is a newer QEMU VM type.
(related Openstack guide)
The VM starts but after 2-3 seconds the spinner hangs as in the attached screenshot.
I tried this on several hypervisors, with different hardware and different kernel versions, but the result is exactly the same.
The same image works well if hw_machine_type
is removed (basically falling back to the old i440fx VM type).
Hello,
I have tried to reproduce the issue with a Windows Server 2022 (build 20348), using q35 as machine type in Glance (pc-q35-2.11,accel=kvm,usb=off,dump-guest-core=off -cpu host -m 4096), and everything looks to be working fine. OpenStack version: Queens, using a Kolla OpenStack installation (Ubuntu 16.04, Linux 4.15.0-x).
I know that Windows 11 might have some issues with hardware requirements and might be the case with the freeze you are seeing - although the kernel should match the Windows 2022 if build versions coincide.
First of all, can you please share the output of <ps auxf|grep -i kvm> from the nova compute node (one process line should be enough, not all) to check if there are any differences vs the environment I have?
Secondly, the Windows 11 image, make sure that it has latest Fedora virtio drivers installed: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.225-2/ .
Also, Windows 11 has been a continous build for quite a long time, it can be helpful to know the build number.
Thank you,
Adrian Vladu