Bug 2362507

Summary: Incus fails to set up network interface when initializing virtual machine with QEMU
Product: [Fedora] Fedora Reporter: Ryan El Kochta <redhatbugzilla.wind>
Component: incusAssignee: Neal Gompa <ngompa13>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 42CC: dev, go-sig, jonathan, ngompa13, rcallicotte, reto.gantenbein
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-27 04:49:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan El Kochta 2025-04-27 04:41:46 UTC
Ever since installing Fedora Silverblue 42, Incus VMs do not start if they have a network interface configured. Incus prints out an error message that seems to come from QEMU, stating that an invalid parameter was passed.

This seems to be related to https://github.com/lxc/incus/issues/1522. Specifically, Incus only gained support for QEMU 9.2 in Incus 6.9, whereas Fedora 42 currently ships QEMU 9.2.3 alongside Incus 6.8.

In other words, Fedora 42 currently ships incompatible versions of Incus and QEMU.

It seems like Fedora should update Incus?

Reproducible: Always

Steps to Reproduce:
1. Install `incus` from the Fedora 42 repositories
2. Run `incus admin init --minimal`
3. Run `incus launch images:fedora/42 test --vm` (the specific distribution used in the VM doesn't matter)
Actual Results:
The following output:

relkochta@venus:~$ incus launch images:fedora/42 test --vm
Launching test
Error: Failed instance creation: Failed setting up device via monitor: Failed setting up device "eth0": Failed adding NIC device: Invalid parameter type for 'bootindex', expected: integer
relkochta@venus:~$ 


Expected Results:
VM starts with no error

Additional Information:
relkochta@venus:~$ incus --version
6.8
relkochta@venus:~$ incus info | grep server_version
  server_version: "6.8"
relkochta@venus:~$ qemu-system-x86_64 --version
QEMU emulator version 9.2.3 (qemu-9.2.3-1.fc42)
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
relkochta@venus:~$ cat /etc/os-release 
NAME="Fedora Linux"
VERSION="42.20250427.0 (Silverblue)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42.20250427.0 (Silverblue)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:42"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://silverblue.fedoraproject.org"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-silverblue/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://github.com/fedora-silverblue/issue-tracker/issues"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=42
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=42
SUPPORT_END=2026-05-13
VARIANT="Silverblue"
VARIANT_ID=silverblue
OSTREE_VERSION='42.20250427.0'
relkochta@venus:~$

Comment 1 Ryan El Kochta 2025-04-27 04:49:02 UTC
Seems I've missed that this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2360678

*** This bug has been marked as a duplicate of bug 2360678 ***