-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win11 VM can't stop after ~5min #14816
Comments
Perhaps lxc/incus#1043 and lxc/incus#1280 could help. |
unstalling latest qemu-guest-agent from virtio-win-0.1.266.iso doesn't change this either. |
Well thats expected, as there is no Windows version of the lxd-agent. LXD doesn't communicate with the qemu-guest-agent. |
Ah, okay. Wasn't sure about that. :) |
Sending the shutdown notice twice, like suggested in lxc/incus#1043 (see: lxc/incus@5c9f4dc) |
This is mostly needed to get Windows to perform a clean shutdown, Linux seems to be fine with just the one event. Closes canonical#14816. Signed-off-by: Stéphane Graber <[email protected]> (cherry picked from commit 5c9f4dcaebada4648251c39176821d4238c5c1fc) Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
…ress tracking to export (from Incus) (#14850) Cherry-picks from lxc/incus#1043. Closes #14816.
Using Ubuntu 22.04.5 LTS (5.15.0-130-generic) with lxd from snap
I setup a Windows 11 VM following https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd which worked fine.
Sometimes I can't shutdown the vm using
lxc stop wm11test
.After some testing I noticed that with
lxc start win11test && sleep 260 && lxc stop win11test
or lower sleep times starting and shutting down the vm works. Using a time >= 300 likelxc start win11test && sleep 330 && lxc stop win11test
it seems like Windows doesn't get or react to the shutdown request. (I can still connect to the vm and shut it down manually.)Here's what I see using
lxc monitor --pretty
:Startup works fine, but no response to the shutdown request. I first thought this might be an issue with older virtio drivers, so I installed https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.266-1/virtio-win-0.1.266.iso and restarted the VM, but that didn't help either.
When it's working (smaller sleep timer), one can see a reply a few seconds later.
When it's not working it runs in the 10 minute timeout:
Am I missing something? Should I install something? Is it a bug? Is there way to specify the fail timeout (10min)?
The text was updated successfully, but these errors were encountered: