[Bug 2095211] Re: partitioning crashed with CurtinInstallError: KeyError DEVNAME

Olivier Gayot 2095211 at bugs.launchpad.net
Wed Oct 8 15:31:14 UTC 2025


Tested by manually calling v2_get_path_to_disk() after connecting a
remote NVMe drive using:

$ nvme connect-all --transport tcp --traddr 10.42.0.235 --trsvcid 4420

The function returns properly on questing, but fails on plucky.

** Changed in: subiquity
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/2095211

Title:
  partitioning crashed with CurtinInstallError: KeyError DEVNAME

Status in curtin:
  Fix Committed
Status in subiquity:
  Fix Released

Bug description:
  Fails to install on a system with NVME drives.

  
  File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 770, in disk_handler
              disk = get_path_to_storage_volume(info.get('id'), storage_config)
            File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 595, in get_path_to_storage_volume
              volume_path = v2_get_path_to_disk(vol)
            File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 500, in v2_get_path_to_disk
              link2dev[dev['DEVNAME']] = dev
          KeyError: 'DEVNAME'
          'DEVNAME'

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: subiquity (237 of snap /snap/ubuntu-desktop-bootstrap/237 of version 0+git.66bf8d183)
  ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
  Uname: Linux 6.8.0-41-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.498
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
  CurtinAptConfig: /var/log/installer/curtin-install/subiquity-curtin-apt.conf
  Date: Sat Jan 18 00:04:05 2025
  DesktopInstallerRev: 237
  ExecutablePath: /snap/ubuntu-desktop-bootstrap/237/bin/subiquity/subiquity/cmd/server.py
  InterpreterPath: /snap/ubuntu-desktop-bootstrap/237/usr/bin/python3.10
  LiveMediaBuild: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
  MachineType: HPE ProLiant DL325 Gen11
  ProcAttrCurrent: snap.hostname-desktop-bootstrap.subiquity-server (complain)
  ProcCmdline: /snap/hostname-desktop-bootstrap/237/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-bootstrap/237/etc/subiquity/postinst.d
  ProcEnviron:
   LANG=C.UTF-8
   LD_LIBRARY_PATH=<set>
   PATH=(custom, no user)
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
  PythonDetails: N/A
  SnapChannel:
   
  SnapRevision: 237
  SnapUpdated: False
  SnapVersion: 237 of snap /snap/ubuntu-desktop-bootstrap/237 of version 0+git.66bf8d183
  SourcePackage: subiquity
  Title: partitioning crashed with CurtinInstallError
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/21/2024
  dmi.bios.release: 1.60
  dmi.bios.vendor: HPE
  dmi.bios.version: 1.60
  dmi.board.name: ProLiant DL325 Gen11
  dmi.board.vendor: HPE
  dmi.chassis.type: 23
  dmi.chassis.vendor: HPE
  dmi.ec.firmware.release: 1.59
  dmi.modalias: dmi:bvnHPE:bvr1.60:bd03/21/2024:br1.60:efr1.59:svnHPE:pnProLiantDL325Gen11:pvr:rvnHPE:rnProLiantDL325Gen11:rvr:cvnHPE:ct23:cvr:skuP54199-B21:
  dmi.product.family: ProLiant
  dmi.product.name: ProLiant DL325 Gen11
  dmi.product.sku: P54199-B21
  dmi.sys.vendor: HPE

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2095211/+subscriptions




More information about the foundations-bugs mailing list