Bugzilla – Bug 1216304
cockpit virtual machines starts failed because ::1 address in template cannot be determined if ipv6 disabled
Last modified: 2024-06-13 14:12:40 UTC
Install Tumbleweed and I disabled ipV6 Access to cockpit webUI and create a vm. For trying to start VM I got following issue: -- [2:35 PM] ERROR internal error: process exited while connecting to monitor: 2023-10-12T12:35:21.926563Z qemu-system-x86_64: warning: Spice: reds.cpp:2551:reds_init_socket: getaddrinfo(::1,5901): Address family for hostname not supported 2023-10-12T12:35:21.926616Z qemu-system-x86_64: warning: Spice: reds.cpp:3441:do_spice_init: Failed to open SPICE sockets 2023-10-12T12:35:21.926637Z qemu-system-x86_64: failed to initialize spice server Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start small-server-tw otherwise, please restart your installation. Command '['virt-install', '--connect', 'qemu:///system', '--quiet', '--os-variant', 'opensusetumbleweed', '--reinstall', 'small-server-tw', '--wait', '-1', '--noautoconsole', '--cdrom', '/var/lib/libvirt/images/openSUSE-Tumbleweed-NET-x86_64-Current.iso']' returned non-zero exit status any idea about this error? warning: Spice: reds.cpp:3441:do_spice_init: Failed to open SPICE -- found out there is a problem with address '::1' in template. change it so, and VM can start without issue. -- <graphics type='spice' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> --
change owner as Adam (amajer@suse.com) wished, thanks!
Can confirm, this happens with current TW (only) when ipv6 is disabled.
I've picked this one up and have got a PR submitted upstream: https://github.com/cockpit-project/cockpit-machines/pull/1677 Should have this resolved soon