Comment 8 for bug 1784001

Revision history for this message
Heather Ellsworth (hellsworth) wrote (last edit ):

I am experiencing this issue as well since installing lunar (fresh install). I've installed virt-manager ant it seemed to setup a default network (virbr0) fine, connect to it fine (as seen in the Connection Details -> Virtual Networks tab). However when I go to create my first VM On this fresh install, I see "Internal error: process exited while connecting to monitor" (see screenshot for complete error). I cancel the installation and see that the iso has remained in the state where its owner is "libvirt-qemu" and its group is "kvm", rather than setting it back to what it was before virt-manager changed the permissions.

I went to their IRC for help, and found out that if you move the iso and change the permissions, VM creation works now. Thanks @laine!

  $ mv ~/Downloads/ubuntu-22.10-desktop-amd64.iso /var/lib/libvirt/images/
  $ sudo chown root:root /var/lib/libvirt/images/ubuntu-22.10-desktop-amd64.iso

Then create your VM with the iso and it works.

Perhaps /var/lib/libvirt/images is the magic directory because the "default" media volume has location "/var/lib/libvirt/images". I always add a "Downloads" media volume and use this, but perhaps the file access from this added volume is faulty for some reason.

Still, moving the iso and changing its ownership is a *workaround*. An iso located in the user's Downloads folder (or anywhere in $HOME) should be usable by virt-manager. Therefore I reopened the bug.