Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69582 - LXD/QEMU: cannot start any virtual machines

Attached to Project: Community Packages
Opened by Sven (skoehler) - Monday, 08 February 2021, 09:19 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 23 February 2021, 23:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I cannot start any virtual machines with LXD/LXC at the moment.
This is the error message:

$ lxc start debian10vm
Error: Failed to run: forklimits limit=memlock:unlimited:unlimited -- /usr/bin/qemu-system-x86_64 -S -name debian10vm -uuid e265f257-85ca-445f-be5c-0170dca5955d -daemonize -cpu host -nographic -serial chardev:console -nodefaults -no-reboot -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -readconfig /var/log/lxd/debian10vm/qemu.conf -pidfile /var/log/lxd/debian10vm/qemu.pid -D /var/log/lxd/debian10vm/qemu.log -chroot /var/lib/lxd/virtual-machines/debian10vm -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas nobody: qemu-system-x86_64:/var/log/lxd/debian10vm/qemu.conf:27: There is no option group 'spice'
qemu-system-x86_64: -readconfig /var/log/lxd/debian10vm/qemu.conf: read config /var/log/lxd/debian10vm/qemu.conf: Invalid argument
: Process exited with a non-zero value
Try `lxc info --show-log debian10vm` for more info

$ lxc info --show-log debian10vm
Name: debian10vm
Location: none
Remote: unix://
Architecture: x86_64
Created: 2021/02/07 21:51 UTC
Status: Stopped
Type: virtual-machine
Profiles: default
Error: open /var/log/lxd/debian10vm/qemu.log: no such file or directory


Additional info:
qemu 5.2.0-2
lxc 1:4.0.6-1
lxd 4.11-1

Steps to reproduce:
lxc launch images:debian/10/cloud --vm -c security.secureboot=false


This information might be of use:
qemu-devel@nongnu.org/msg771453.html"> https://www.mail-archive.com/qemu-devel@nongnu.org/msg771453.html
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 23 February 2021, 23:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  qemu 5.2.0-3
Comment by Sven (skoehler) - Monday, 08 February 2021, 11:01 GMT Comment by Sven (skoehler) - Monday, 08 February 2021, 16:41 GMT
For now, I downgraded to qemu-5.1.0-3. I can start my virtual machine again.
Comment by Morten Linderud (Foxboron) - Monday, 08 February 2021, 16:44 GMT
Turns out there is a patched qemu package in the AUR i was never informed about.

https://aur.archlinux.org/packages/qemu-nonbroken/

I'll what with Anatol and figure out what we should do.
Comment by Anatol Pomozov (anatolik) - Monday, 08 February 2021, 21:23 GMT
I pulled a workaround from Debian https://salsa.debian.org/qemu-team/qemu/-/blob/master/debian/patches/build-most-modules-statically-hack.diff that compiles-in QEMU modules. It suppose to fix the regression you see.

QEMU 5.2.0-3 with this patch has been pushed to [testing]. Please check if it fixed this issue.
Comment by edac val (edacval) - Monday, 08 February 2021, 22:17 GMT Comment by Jonathan BISSON (bjonnh) - Friday, 12 February 2021, 22:46 GMT
@anatolik: I can confirm that the testing version solves the issue.
Comment by Sven (skoehler) - Monday, 15 February 2021, 12:48 GMT
qemu 5.2.0-3 from testing works just fine
Comment by Morten Linderud (Foxboron) - Tuesday, 23 February 2021, 23:07 GMT
qemu has been moved out of testing. Sorry for the delay!

Loading...