Public bug reported:
Ubuntu 24.04.1 LTS amd64, fully updated
cockpit Version: 314-1
cockpit-machines Version: 310-1
Disable ipv6 by running:
sysclt net.ipv6.conf.all.disable_ipv6=1
Now creation of VM through cockpit web interface will result in failure.
Name of the VM that i created "Ubuntu_24.04_LTS_Server"
attached log file for the VM that failed to be created in cockpit:
/var/log/libvirt/qemu/Ubuntu_24.04_LTS_Server.log
When ipv6 is allowed cockpit creates Virtual Machine configuration xml file in
/etc/libvirt/qemu/
containing this section:
<graphics type='spice' autoport='yes' listen='::1'>
<listen type='address' address='::1'/>
<image compression='off'/>
</graphics>
but this wont work on ipv4 only system.
On ipv4 it should look like this:
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
<image compression='off'/>
</graphics>
** Affects: cockpit-machines (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078014
Title:
Cockpit cannot create Virtual Machine while ipv6 is disabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cockpit-machines/+bug/2078014/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs