curthooks crashed with CurtinInstallError

Bug #2055448 reported by Sebastian Horatio Stillion
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
Undecided
Unassigned
ubuntu-desktop-provision
Fix Released
Undecided
Unassigned

Bug Description

This bug impacts revision 20 of ubuntu-desktop-bootstrap and while similar to the bug #2055372, it involves a different process crash that nevertheless produces the same result. On certain UEFI devices the python interpreter which the curtin process uses will crash when attempting to install the GRUB bootloader. This results in a failure to install a bootable OS.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
Uname: Linux 6.6.0-14-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.494
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: Thu Feb 29 09:39:27 2024
ExecutablePath: /snap/ubuntu-desktop-bootstrap/20/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-bootstrap/20/usr/bin/python3.10
LiveMediaBuild: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240228)
MachineType: LENOVO 20TRS00S00
ProcAttrCurrent: snap.hostname-desktop-bootstrap.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-bootstrap/20/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-bootstrap/20/etc/subiquity/postinst.d
ProcEnviron:
 LANG=en_US.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.2, python3-minimal, 3.12.1-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
SnapChannel: latest/candidate
SnapRevision: 20
SnapUpdated: False
SnapVersion: 0+git.f9c15278
SourcePackage: subiquity
Title: curthooks crashed with CurtinInstallError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/21/2023
dmi.bios.release: 1.36
dmi.bios.vendor: LENOVO
dmi.bios.version: N30ET53W (1.36 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20TRS00S00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.17
dmi.modalias: dmi:bvnLENOVO:bvrN30ET53W(1.36):bd11/21/2023:br1.36:efr1.17:svnLENOVO:pn20TRS00S00:pvrThinkPadP15vGen1:rvnLENOVO:rn20TRS00S00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20TR_BU_Think_FM_ThinkPadP15vGen1:
dmi.product.family: ThinkPad P15v Gen 1
dmi.product.name: 20TRS00S00
dmi.product.sku: LENOVO_MT_20TR_BU_Think_FM_ThinkPad P15v Gen 1
dmi.product.version: ThinkPad P15v Gen 1
dmi.sys.vendor: LENOVO

Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote :
information type: Private → Public
Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote :

This bug is still in effect as of revision 25. The software needs to use Python 3.12 instead of 3.10 to work correctly.

Revision history for this message
Chris Peterson (cpete) wrote :

Hi,

Thanks for your report!

> while similar to the bug #2055372, it involves a different process crash that nevertheless produces the same result

After reviewing #2055372, my initial suspicion is that they're both duplicate of #2055294, but I could be wrong. Could you also elaborate on how they are different?

> The software needs to use Python 3.12 instead of 3.10 to work correctly

Could you elaborate on why this is the case?

Thank you,
Chris

Changed in subiquity:
status: New → Incomplete
Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote (last edit ):

The bug remains in effect as of revision 29. In the last version of ubuntu-desktop-installer, the program worked properly under the 23.10 iso and installed GRUB as intended. The same program when tried on a 24.04 dev iso does not work properly due to problems with the python interpreter, mainly that the 24.04 iso uses a newer version of Python as default which is 3.12. The installer still uses version 3.10 on the snap file but then links to the system python that leads to the set of operations that produce the bug.

Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote :

Update, Python is NOT the cause of the bug, but instead has to do with how the grub package was installed with a faulty process affecting the package that is described in bug #2055294. A fix has been committed according to the git repository but will have to test latest revision for confirmation.

Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote :

Test confirms bug fix on latest dev iso, using revision 33, no further action is needed.

Changed in subiquity:
status: Incomplete → Fix Released
Changed in ubuntu-desktop-provision:
status: New → Fix Released
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.