At last version omv 7 and kvm plugin autostart enabled on every VM, but after shutdown it doesn't start automatically
kvm autostart doesnt work
-
- OMV 7.x
- gelöst
- mcking230
-
-
It is working on my systems. What is the output of:
sudo ls -al /etc/libvirt/qemu/autostart/
sudo virsh list --autostart
And did you look at the logs for the VMs in /var/log/libvirt/qemu/? Are you using usb storage?
-
this is what mine shows
-
-
sudo ls -al /etc/libvirt/qemu/autostart/
Codetotal 8 drwxr-xr-x 2 root root 4096 May 7 14:54 . drwxr-xr-x 4 root root 4096 May 9 20:33 .. lrwxrwxrwx 1 root root 31 May 7 14:54 1c-server.xml -> /etc/libvirt/qemu/1c-server.xml lrwxrwxrwx 1 root root 29 May 7 14:54 mikopbx.xml -> /etc/libvirt/qemu/mikopbx.xml
sudo virsh list --autostart
And did you look at the logs for the VMs in /var/log/libvirt/qemu/? Are you using usb storage?
Code2024-05-09T17:31:30.327091Z qemu-system-x86_64: warning: Spice: ../server/reds.cpp:2551:reds_init_socket: getaddrinfo(0.0.0.0,5901): Address family for hostname not supported 2024-05-09T17:31:30.327109Z qemu-system-x86_64: warning: Spice: ../server/reds.cpp:3442:do_spice_init: Failed to open SPICE sockets 2024-05-09T17:31:30.327115Z qemu-system-x86_64: failed to initialize spice server 2024-05-09 17:31:30.401+0000: shutting down, reason=failed
here's the problem, how can i solve this?
-
here's the problem, how can i solve this?
The plugin has a menu that lets you remove spice and then you could re-add it.
-
The plugin has a menu that lets you remove spice and then you could re-add it.
There's no Spice
-
-
-
-
mcking230
Hat das Label gelöst hinzugefügt. -
mcking230
Hat das Label OMV 7.x hinzugefügt. -
Find solution by disabling (disgusting) ipv6
in /etc/sysctl.conf add the following lines at end
I don't know why that works but I do not have ipv6 disabled on my systems.
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!