[Bug 2056730] Re: noble-daily (20240310) cannot be installed offline
Adam Fowler
2056730 at bugs.launchpad.net
Mon Mar 11 17:35:13 UTC 2024
This bug also prevents an ubuntu-server noble autoinstall installation
with NVMe disks attached via PCIe. Noble 20230223.
My configuration was a simple storage: direct, with a disk: match
specifying 'smallest' and 'ssd: true' (I have 3 NVMe drives, one 128 GB
for OS, two 3.6TB for data.).
Mine is an offline install (true air gap).
Interestingly, the live CD autoinstall process correctly finds and
prepares the NVMe drive, installs the system and kernel fine. lsblk even
shows all 3 drives. lsmod shows nvme, nvme_core and nvme_common are
loaded - no nvme-cli or nvme-stas mentioned. It seems it is subiquity
adding those drivers.
Interestingly, the package search site shows noble has these packages:-
https://packages.ubuntu.com/noble/nvme-cli
I'm going to try the daily from last night to see if they are now
included.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2056730
Title:
noble-daily (20240310) cannot be installed offline
Status in subiquity:
Triaged
Status in subiquity package in Ubuntu:
Confirmed
Bug description:
The image is unable to be installed offline, log in journalctl
suggests that curtin tries to install nvme-cli and nvme-stas and
failed because these packages are not in the image pool.
Excerpt from journal log:
...
Mar 11 14:42:02 ubuntu subiquity_log.3918[7006]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Mar 11 14:42:02 ubuntu subiquity_event.3918[3918]: curtin command curthooks
Mar 11 14:42:02 ubuntu subiquity_event.3918[3918]: configuring apt configuring apt
Mar 11 14:42:02 ubuntu subiquity_event.3918[3918]: configuring apt configuring apt
Mar 11 14:42:02 ubuntu subiquity_event.3918[3918]: installing missing packages
Mar 11 14:42:02 ubuntu subiquity_log.3918[7006]: Curtin config dependencies requires additional packages: ['nvme-cli', 'nvme-stas', 'e2fsprogs']
Mar 11 14:42:02 ubuntu subiquity_log.3918[7006]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Mar 11 14:42:02 ubuntu subiquity_log.3918[7006]: Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Mar 11 14:42:03 ubuntu curtin_event.3918.9[7009]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'nvme-cli', 'nvme-stas', 'shim-signed']
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Skipping install of {'grub-efi-amd64', 'vlan', 'nvme-cli', 'efibootmgr', 'bridge-utils', 'grub-efi-amd64-signed', 'ifenslave', 'nvme-stas', 'shim-signed'}. Not needed on netplan system.
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'nvme-cli', 'nvme-stas', 'shim-signed']
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Updating apt sources in /target
...
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Running in chroot, ignoring command 'start'
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Get:1 file:/cdrom noble InRelease
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Ign:1 file:/cdrom noble InRelease
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Get:2 file:/cdrom noble Release [1,072 B]
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Get:2 file:/cdrom noble Release [1,072 B]
Mar 11 14:42:03 ubuntu subiquity_event.3918[3918]: Installing packages on target system: ['efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'nvme-cli', 'nvme-stas', 'shim-signed']
...
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'nvme-cli', 'nvme-stas', 'shim-signed'] with allowed return codes [0] (capture=False)
Mar 11 14:42:03 ubuntu subiquity_log.3918[7006]: Reading package lists...
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: Building dependency tree...
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: Reading state information...
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: Package nvme-cli is not available, but is referred to by another package.
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: This may mean that the package is missing, has been obsoleted, or
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: is only available from another source
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: E: Package 'nvme-cli' has no installation candidate
Mar 11 14:42:04 ubuntu subiquity_log.3918[7006]: E: Unable to locate package nvme-stas
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2056730/+subscriptions
More information about the foundations-bugs
mailing list