[Bug 2100961] Re: Autoinstall failing with errors related to OEM metapackages
Olivier Gayot
2100961 at bugs.launchpad.net
Thu Jul 31 09:22:20 UTC 2025
Marking fix released.
Tested on the desktop installer with current stable snap
24.04/stable: 0+git.c5e4e62ce 2025-07-30 (413) 118MB classic
and on the server installer with current candidate snap
24.04/candidate: 24.04.3 2025-07-29 (6806) 21MB
classic
with the following additional autoinstall directive on server:
oem: {"install": true}
** Changed in: subiquity (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2100961
Title:
Autoinstall failing with errors related to OEM metapackages
Status in subiquity:
Fix Released
Status in subiquity package in Ubuntu:
Fix Released
Status in subiquity source package in Noble:
Fix Released
Bug description:
Test system is a Dell XPS 9320 (oem-somerville-tentacool-rpl)
[Description]
Using a barebones autoinstall file:
```
#cloud-config
# autoinstall:
version: 1
interactive-sections:
- network
- identity
- storage
user-data:
(python script getting written to disk so it can run on first boot)
```
causes the 24.04.1 (no OEM metapackages present) and 24.04.2 Desktop
installers (OEM metapackages present) to fail with the following
error:
2025-03-04 18:06:24,868 DEBUG root:38 finish: subiquity/OEM/load_metapackages_list: SUCCESS:
2025-03-04 18:06:24,869 ERROR root:38 finish: subiquity/OEM/apply_autoinstall_config: FAIL: A specific kernel flavor was requested but it cannot be satistified when installing on certified hardware.
You should either disable the installation of OEM meta-packages using the following autoinstall snippet or let the installer decide which kernel to
install.
oem:
install: false
However, manually running through the installation process without the
autoinstall succeeds, and produces the following autogenerated
autoinstall file:
```
#cloud-config
# See the autoinstall documentation at:
# https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html
autoinstall:
apt:
disable_components: []
fallback: offline-install
geoip: true
mirror-selection:
primary:
- country-mirror
- arches: &id001
- amd64
- i386
uri: http://archive.ubuntu.com/ubuntu/
- arches: &id002
- s390x
- arm64
- armhf
- powerpc
- ppc64el
- riscv64
uri: http://ports.ubuntu.com/ubuntu-ports
preserve_sources_list: false
security:
- arches: *id001
uri: http://security.ubuntu.com/ubuntu/
- arches: *id002
uri: http://ports.ubuntu.com/ubuntu-ports
codecs:
install: true
drivers:
install: true
identity:
hostname: test-XPS-9320
password: <REDACTED>
realname: test
username: test
kernel:
package: linux-generic-hwe-24.04
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
network:
ethernets: {}
version: 2
wifis:
wlp0s20f3:
access-points:
<REDACTED>:
auth:
key-management: psk
password: <REDACTED>
networkmanager:
name: <REDACTED>
passthrough:
ipv6.addr-gen-mode: default
ipv6.ip6-privacy: '-1'
proxy._: ''
wifi-security.auth-alg: open
uuid: <REDACTED>
dhcp4: true
dhcp6: true
networkmanager:
name: <REDACTED>
uuid: <REDACTED>
renderer: NetworkManager
oem:
install: auto
source:
id: ubuntu-desktop-minimal
search_drivers: true
ssh:
allow-pw: true
authorized-keys: []
install-server: false
storage:
config:
- transport: pcie
preserve: true
id: nvme-controller-nvme0
type: nvme_controller
- ptable: gpt
serial: KXG80ZNV2T04_NVMe_KIOXIA_2048GB_63UFC0WGFCSK_1
wwn: eui.00000000000000008ce38e0500e7f11f
nvme_controller: nvme-controller-nvme0
path: /dev/nvme0n1
wipe: superblock-recursive
preserve: false
name: ''
grub_device: false
id: disk-nvme0n1
type: disk
- device: disk-nvme0n1
size: 1127219200
wipe: superblock
flag: boot
number: 1
preserve: false
grub_device: true
offset: 1048576
path: /dev/nvme0n1p1
id: partition-0
type: partition
- fstype: fat32
volume: partition-0
preserve: false
id: format-0
type: format
- device: disk-nvme0n1
size: 2147483648
wipe: superblock
number: 2
preserve: false
offset: 1128267776
path: /dev/nvme0n1p2
id: partition-1
type: partition
- fstype: ext4
volume: partition-1
preserve: false
id: format-1
type: format
- device: disk-nvme0n1
size: 2045131096064
wipe: superblock
number: 3
preserve: false
offset: 3275751424
path: /dev/nvme0n1p3
id: partition-2
type: partition
- volume: partition-2
keyfile: /tmp/luks-key-ab8tgtqu
recovery_keyfile: null
path: /dev/mapper/dm_crypt-0
preserve: false
id: dm_crypt-0
type: dm_crypt
- name: ubuntu-vg
devices:
- dm_crypt-0
preserve: false
id: lvm_volgroup-0
type: lvm_volgroup
- name: ubuntu-lv
volgroup: lvm_volgroup-0
size: 2045113270272B
wipe: superblock
preserve: false
path: /dev/ubuntu-vg/ubuntu-lv
id: lvm_partition-0
type: lvm_partition
- fstype: ext4
volume: lvm_partition-0
preserve: false
id: format-2
type: format
- path: /
device: format-2
id: mount-2
type: mount
- path: /boot
device: format-1
id: mount-1
type: mount
- path: /boot/efi
device: format-0
id: mount-0
type: mount
timezone: America/Chicago
updates: security
version: 1
```
[Links]
Related PR: https://github.com/canonical/subiquity/commit/39feac24e3041b0150a1f7d74b1ea58862b39d4c
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2100961/+subscriptions
More information about the foundations-bugs
mailing list