Need a bit of help with OMV installed as a KVM guest. I'm noticing that the VM does not respond to power-off messages, even though acpid and pm-utils appear to be installed and acpid is running.
How do I get the VM to shutdown properly?
Thanks
Eric
Need a bit of help with OMV installed as a KVM guest. I'm noticing that the VM does not respond to power-off messages, even though acpid and pm-utils appear to be installed and acpid is running.
How do I get the VM to shutdown properly?
Thanks
Eric
Did you try using apt install qemu-guest-agent?
Thanks for the tip. I tried that now, but still no response to shutdown message from libvirt.
Any other thoughts?
Eric
I tried that now, but still no response to shutdown message from libvirt.
That is only half of the fix. You need to enable the guest agent for the VM.
Thanks for the help. I ran the following...
apt install qemu-guest-agent
systemctl start qemu-guest-agent
Rebooted, and I also verified that the GA is running (systemctl status qemu-guest-agent)
However, from the virt-manager gui, the guest won't respond to shutdown messages. I have to "force off".
What am I missing?
Thanks again,
Eric
What am I missing?
You have to enable the guest agent on the kvm side (not in the guest). On proxmox, it is just a checkbox to enable it. With libvirt, it looks like you need to add a line to the config file - https://wiki.libvirt.org/page/Qemu_guest_agent
Works also with OMV 5 (Debian 10) on Proxmox (KVM). I Think there is one Point Missing:
apt install qemu-guest-agent
systemctl enable qemu-guest-agent
systemctl start qemu-guest-agent
So the guest-agent will be restartet at the next reboot. Here th OMV works fine: Is rebooting called from Proxmox and it's shutting down called from Proxmox. So it is working fine while restarting the whole host.
VG - Fossi
Don’t have an account yet? Register yourself now and be a part of our community!