request to /storage/v2/add_boot_partition?disk_id=%22disk-sdb%22 crashed with ValueError

Bug #2016389 reported by aoandr
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
subiquity
Incomplete
Undecided
Xaraar Haider

Bug Description

Can not format NVMe disk to install Ubuntu 23.04
Apparently, the partition names are wrong: they should be like
nvme0n1p1, nvme0n1p2, etc, rather than nvme0n11, nvme0n12, etc

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.480
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Sat Apr 15 17:06:33 2023
ExecutablePath: /snap/ubuntu-desktop-installer/892/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/892/usr/bin/python3.10
LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Beta amd64 (20230329)
MachineType: LENOVO 21E6008HGP
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/892/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/892/etc/subiquity/postinst.d
ProcEnviron:
 LANG=C.UTF-8
 LD_LIBRARY_PATH=<set>
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz layerfs-path=minimal.standard.live.squashfs --- quiet splash
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
SnapChannel:

SnapRevision: 892
SnapUpdated: False
SnapVersion: 0+git.afb2b470
SourcePackage: subiquity
Title: request to /storage/v2/add_boot_partition?disk_id=%22disk-sdb%22 crashed with ValueError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/25/2023
dmi.bios.release: 1.18
dmi.bios.vendor: LENOVO
dmi.bios.version: R1SET47W(1.18)
dmi.board.asset.tag: Not Available
dmi.board.name: 21E6008HGP
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.18
dmi.modalias: dmi:bvnLENOVO:bvrR1SET47W(1.18):bd02/25/2023:br1.18:efr1.18:svnLENOVO:pn21E6008HGP:pvrThinkPadE15Gen4:rvnLENOVO:rn21E6008HGP:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21E6_BU_Think_FM_ThinkPadE15Gen4:
dmi.product.family: ThinkPad E15 Gen 4
dmi.product.name: 21E6008HGP
dmi.product.sku: LENOVO_MT_21E6_BU_Think_FM_ThinkPad E15 Gen 4
dmi.product.version: ThinkPad E15 Gen 4
dmi.sys.vendor: LENOVO

Revision history for this message
aoandr (t-launchpad-nbs-eng-ru) wrote :
information type: Private → Public
Revision history for this message
Olivier Gayot (ogayot) wrote :

Thank you for your bug report.

We believe that a fix for this bug landed in more recent builds. Would you mind retrying with the latest daily build?

https://cdimage.ubuntu.com/daily-live/current/

Thanks!
Olivier

Changed in subiquity:
status: New → Incomplete
Revision history for this message
aoandr (t-launchpad-nbs-eng-ru) wrote :

The confirmation page, shown before disk is formatted, still shows incorrect block file names, see attached screenshot.

Installation failed, with an error, but I was not able to upload the logs, the automatic reporting procedure aborted with HTTP error 503.

$ cat .disk/info
Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230415)

Revision history for this message
Olivier Gayot (ogayot) wrote :

Thanks @aoandr,

I've forwarded the UI issue (wrong partition name) to https://github.com/canonical/ubuntu-desktop-installer/issues/1819.

For the error you encounter, would you be able to send us a tarball with the content of /var/log/installer/, /var/crash/ and the content of the journal?

Thanks,
Olivier

Revision history for this message
aoandr (t-launchpad-nbs-eng-ru) wrote :

I have reproduced the problem and submitted a separate bug report: #2016629

Xaraar Haider (xaraar)
Changed in subiquity:
assignee: nobody → Xaraar Haider (xaraar)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.