subiquity error, GuidedStorageTargetReformat ValueError: Partition is not in list
Bug #2063925 reported by
Paweł
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Triaged
|
Medium
|
Unassigned | ||
ubuntu-desktop-provision |
New
|
Undecided
|
Unassigned |
Bug Description
I've downloaded Ubuntu 24.04 LTS yesterday. After filling in all the fields on the installation form and confirming timezone I got subiquity_event error that blocks installing the OS.
I'm attaching /var/log/installer and the screenshot with the error.
Changed in subiquity: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Thank you for your bug report, the error seems to be
2024-04-27 08:22:15,842 DEBUG subiquity. server. controllers. filesystem: 1182 GuidedChoiceV2( target= GuidedStorageTa rgetReformat( disk_id= 'disk-nvme0n1' , allowed= [<GuidedCapabil ity.DIRECT: 2>, <GuidedCapabili ty.LVM: 3>, <GuidedCapabili ty.LVM_ LUKS: 4>, <GuidedCapabili ty.ZFS: 5>, <GuidedCapabili ty.ZFS_ LUKS_KEYSTORE: 6>], disallowed= [GuidedDisallow edCapability( capability= <GuidedCapabili ty.CORE_ BOOT_ENCRYPTED: 7>, reason= <GuidedDisallow edCapabilityRea son.CORE_ BOOT_ENCRYPTION _UNAVAILABLE: 2>, message='not encrypting device storage as checking TPM gave: cannot connect to TPM device: no TPM2 device is available'), GuidedDisallowe dCapability( capability= <GuidedCapabili ty.CORE_ BOOT_UNENCRYPTE D: 8>, reason= <GuidedDisallow edCapabilityRea son.THIRD_ PARTY_DRIVERS: 4>, message='Enhanced secure boot options cannot currently install third party drivers.')]), capability= <GuidedCapabili ty.LVM_ LUKS: 4>, recovery_key=None, sizing_ policy= <SizingPolicy. ALL: 2>, reset_partition =False, reset_partition _size=None) Filesystem/ v2_guided_ POST: SUCCESS: 500 Traceback (most recent call last): ubuntu- desktop- bootstrap/ 171... server. server: 541 request to /storage/v2/guided crashed ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ common/ api/server. py", line 164, in handler **args) ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ server/ controllers/ filesystem. py", line 1184, in v2_guided_POST ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ server/ controllers/ filesystem. py", line 726, in guided guided( choice. target, disk) ubuntu- desktop- bootstrap/ 171/usr/ lib/python3. 10/functools. py", line 926, in _method ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ server/ controllers/ filesystem. py", line 645, in start_guided_ reformat reformat( disk, wipe="superbloc k-recursive" ) ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ common/ filesystem/ manipulator. py", line 257, in reformat delete_ partition( p, True) ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ common/ filesystem/ manipulator. py", line 120, in delete_partition model.remove_ partition( part) ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ models/ filesystem. py", line 2110, in remove_partition trailing_ partitions_ and_gap_ size(part) [0]: ubuntu- desktop- bootstrap/ 171/usr/ lib/python3. 10/functools. py", line 889, in wrapper args[0] .__class_ _)(*args, **kw) ubuntu- desktop- bootstrap/ 171/bin/ subiquity/ subiquity/ common/ filesystem/ gaps.py" , line 281, in _movable_ trailing_ partitions_ and_gap_ size_partition partition) device= disk-nvme0n1, size=536870912, wipe='superblock', flag='boot', number=1, preserve=True, offset=1048576, partition_ type='c12a732. ..
2024-04-27 08:22:15,843 DEBUG root:38 finish: subiquity/
File "/snap/
2024-04-27 08:22:15,843 DEBUG subiquity.
Traceback (most recent call last):
File "/snap/
result = await implementation(
File "/snap/
await self.guided(data)
File "/snap/
gap = self.start_
File "/snap/
return method.__get__(obj, cls)(*args, **kwargs)
File "/snap/
self.
File "/snap/
self.
File "/snap/
self.
File "/snap/
for p2 in movable_
File "/snap/
return dispatch(
File "/snap/
part_idx = pgs.index(
ValueError: Partition(