Bug 2360678

Summary: Incus version in Fedora 42 is incompatible with released QEMU version
Product: [Fedora] Fedora Reporter: Rodrigo Gonçalves <keitarobr>
Component: incusAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 42CC: abalmos, fabian, go-sig, jonathan, kees, ngompa13, rcallicotte, redhatbugzilla.wind, reto.gantenbein
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: incus-6.12-1.fc42 incus-6.12-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-07 03:22:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rodrigo Gonçalves 2025-04-17 11:24:33 UTC
Description of problem:


Version-Release number of selected component (if applicable): 6.8.1


How reproducible: try to run a virtual machine under incus


Steps to Reproduce:
1. Create a virtual machine in icus
2. Set number of cores to use
3. Try to start the VM

Actual results: VM does not start and incus reports:

Error: Failed to add CPUs: Failed to add device: Invalid parameter type for 'core-id', expected: integer
Try `lxc info --show-log somevm` for more info


Expected results: Start the VM


Additional info:

Incus 6.8 is incompatible with QEMU 9.2, present in Fedora 42, as described in https://github.com/canonical/lxd/issues/14916 - it should be upgraded to 6.11

Comment 1 Ryan El Kochta 2025-04-27 04:49:02 UTC
*** Bug 2362507 has been marked as a duplicate of this bug. ***

Comment 2 kees 2025-04-30 18:45:25 UTC
Here is another error

Freshly created VM fails to start

$ incus init images:ubuntu/noble/cloud u24 --vm 
Creating u24
$ incus start u24 --console=vga
Error: Failed setting up device via monitor: Failed setting up device "eth0": Failed adding NIC device: Invalid parameter type for 'bootindex', expected: integer
Try `incus info --show-log u24` for more info

Comment 3 kees 2025-04-30 19:39:54 UTC
What is the procedure to get a newer version of incus in Fedora? I hope it doesn't mean we have to wait until F43 comes out.

Comment 4 kees 2025-05-05 19:03:15 UTC
Incus 6.12 is now available for F42.
BTW. I had to restart the whole system because incusd didn't properly startup after the upgrade.

Comment 5 Rodrigo Gonçalves 2025-05-05 19:33:45 UTC
(In reply to kees from comment #4)
> Incus 6.12 is now available for F42.
> BTW. I had to restart the whole system because incusd didn't properly
> startup after the upgrade.

Nice! But mine doesn't show the upgrade available - maybe repository cache delay?

Comment 6 kees 2025-05-05 20:29:02 UTC
Ah, it looks like I got it from ganto

dnf list --installed incus
Installed packages
incus.x86_64 6.12-0.3.fc42 copr:copr.fedorainfracloud.org:ganto:lxc4

Comment 7 Rodrigo Gonçalves 2025-05-05 20:38:24 UTC
Didn't know about ganto - will try this one!

Comment 8 Reto Gantenbein 2025-05-05 21:35:03 UTC
The ganto/lxc4 COPR repository is my project where I maintain the latest Incus (and previously LXD) versions without much stability guarantees.

So far I was not involved much in the official Fedora package but I just created https://src.fedoraproject.org/rpms/incus/pull-request/5 which should hopefully result in a working package again within the next few days. To be honest I didn't realize that Incus was promoted to the in-the-meantime stable Fedora releases.

Comment 9 Fedora Update System 2025-05-06 03:20:06 UTC
FEDORA-2025-5fce1e4f70 (incus-6.12-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-5fce1e4f70

Comment 10 Fedora Update System 2025-05-06 03:20:29 UTC
FEDORA-2025-e4d441a4dd (incus-6.12-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e4d441a4dd

Comment 11 kees 2025-05-06 19:33:35 UTC
Thank you Reto, for picking this up.

Comment 12 Fedora Update System 2025-05-07 03:22:46 UTC
FEDORA-2025-e4d441a4dd (incus-6.12-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-05-07 03:59:55 UTC
FEDORA-2025-5fce1e4f70 (incus-6.12-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.