cockpit-project / cockpit-machines

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

unsupported configuration: unable to find any emulator to serve '(null)' architecture #1820

Closed DenisBY closed 3 weeks ago

DenisBY commented 3 weeks ago

Explain what happens

  1. Install cockpit, cockpit-machines, virt-installd
  2. try to create a VM
  3. get error

Version of Cockpit

323-1

Where is the problem in Cockpit?

Unknown or not applicable

Server operating system

Arch Linux

Server operating system version

Manjaro

What browsers are you using?

Firefox

System log

unsupported configuration: unable to find any emulator to serve '(null)' architecture

CODE_FILE
    ../src/qemu/qemu_capabilities.c
CODE_FUNC
    virQEMUCapsCacheLookupDefault
CODE_LINE
    5938
LIBVIRT_CODE
    67
LIBVIRT_DOMAIN
    10
LIBVIRT_SOURCE
    util.error
PRIORITY
    3
SYSLOG_FACILITY
    3
_BOOT_ID
    ebb7ebe75b6d44729847449be3f6eb9d
_CAP_EFFECTIVE
    1ffffffffff
_CMDLINE
    /usr/bin/libvirtd --timeout 120
_COMM
    libvirtd
_EXE
    /usr/bin/libvirtd
_GID
    0
_HOSTNAME
    nas
_MACHINE_ID
    6d630eb94ddb493f83a1ddeae6c63839
_PID
    762418
_RUNTIME_SCOPE
    system
_SOURCE_REALTIME_TIMESTAMP
    1726329208244477
_SYSTEMD_CGROUP
    /system.slice/libvirtd.service
_SYSTEMD_INVOCATION_ID
    8df4e42e920e45628bce6a0e7f6194b6
_SYSTEMD_SLICE
    system.slice
_SYSTEMD_UNIT
    libvirtd.service
_TRANSPORT
    journal
_UID
    0
__CURSOR
    s=db67fd40bb56454d84cd898e88a487d1;i=74bb;b=ebb7ebe75b6d44729847449be3f6eb9d;m=13d86c0f79;t=6221657390a51;x=7d32b150cfb35ec0
__MONOTONIC_TIMESTAMP
    85235339129
__REALTIME_TIMESTAMP
    1726329208244817
__SEQNUM
    29883
__SEQNUM_ID
    db67fd40bb56454d84cd898e88a487d1
jelly commented 3 weeks ago

Your install lacks QEMU, you probably want to install qemu-full or qemu-desktop. The Arch package should gain an optional dependency on it or maybe like Fedora a hard dep on qemu-kvm

DenisBY commented 3 weeks ago

Thank you, it helped!