Closed cookiengineer closed 3 months ago
After the installation of qemu-base
as an emulator, there's also the following error for local ISO installations, which I cannot fix.
So far only the Debian image installation (auto-download) worked, but I haven't figured out how to correctly configure it into bridging mode.
The error I keep getting, no matter where the ISO file is located, and no matter which kind of chmod group/all access is set, is the following. Even when setting 0666 to the file and for testing putting it into /tmp or /opt, it doesn't make a difference for whatever reason.
How can I debug this further to find out what's causing this fd / file open error?
ERROR internal error: process exited while connecting to monitor: 2024-04-28T06:25:42.582723Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/cookiengineer/Downloads/OS Images/trisquel-netinst_11.0_amd64.iso","node-name":"libvirt-1-storage","read-only":true}: Could not open '/home/cookiengineer/Downloads/OS Images/trisquel-netinst_11.0_amd64.iso': Permission denied Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start trisquel otherwise, please restart your installation.
Get error error: failed to connect to the hypervisor error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' Fix the polkit error and create /etc/polkit-1/50-libvirt.rules file with the content below.
This is provided by the libvirt
package:
[jelle@t14s][~/projects/cockpit-bots]%pacman -F 50-libvirt.rules
extra/libvirt 1:10.2.0-1 [installed]
usr/share/polkit-1/rules.d/50-libvirt.rules
And then I would recommend installing extra/qemu-desktop
Closing this issue as there was no response.
Explain what happens
error: failed to connect to the hypervisor error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
/etc/polkit-1/50-libvirt.rules
file with the content below.http://127.0.0.1:9090/machines#/vms
How do I fix the described error?
I'm not sure what to do next, because it seems that some command is missing the
amd64
or similar parameter in the exec call.Attachments (changed files):
/etc/polkit-1/50-libvirt.rules
:Version of Cockpit
315-2
Where is the problem in Cockpit?
Unknown or not applicable
Server operating system
None
Server operating system version
Arch Linux (updated 2024-04-27)
What browsers are you using?
Firefox, Chrome
System log