cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
303 stars 75 forks source link

Virtual machines VNC bug #895

Open Kuba1842 opened 1 year ago

Kuba1842 commented 1 year ago

Explain what happens

Hi,

i am using Cockpit mostly for control virtual servers and when i am edit virtual server RAM or Disk boot or something like that on Cockpit, VNC display showing right on the page stop working and Cockpit event log showing: "argument unsupported: QEMU guest agent is not configured".. and when i am look at libvirt machine files, after editing RAM or Disk boot or something, machine xml configuration changed a lot options between machines, where VNC display working.

e.g this on edited machine missing: `

  <address type='virtio-serial' controller='0' bus='0' port='1'/>

` (and when i added it manually, VNC display on Cockpit still doesnt works..)

sorry for my bad english, i hope you understand what i mean :-)

Version of Cockpit

277 machines (cockpit 279)

Where is the problem in Cockpit?

Applications

Server operating system

Debian

Server operating system version

Debian 11

What browsers are you using?

Chrome

System log

libvirtd[1025]: argument unsupported: QEMU guest agent is not configured
KKoukiou commented 1 year ago

@Kuba1842 thanks for the bug report and sorry for taking long time to reply. This got lost over the christmas holidays. Do you have some custom VNC conifguration in your VMs XML?

Can you maybe post the whole reproducer workflow? Like how did you create the VMs, then what exact option did you edit from the UI, was the VM running or shut off and then exactly what was the diff the XML before and after the option change. Thanks in advance for the reproducer details.

Kuba1842 commented 1 year ago

Hi, thanks for your answer.

I do everything directly through the Cockpit. I'll give you a specific case:

It show just connecting: image

and Logs shows: image

But I do everything through Cockpit, I don't interfere with virtual machines with ssh commands or directly into the XML file. Just as I wrote, I noticed that after modifying the RAM of the virtual machine, it changed quite a few settings in the XML and then as if VNC was not configured at all.