Traceback (most recent call last): File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/common/api/server.py", line 164, in handler result = await implementation(**args) File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1189, in v2_reformat_disk_POST self.reformat(self.model._one(id=data.disk_id), data.ptable) File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/manipulator.py", line 257, in reformat self.delete_partition(p, True) File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/manipulator.py", line 120, in delete_partition self.model.remove_partition(part) File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/models/filesystem.py", line 2110, in remove_partition for p2 in movable_trailing_partitions_and_gap_size(part)[0]: File "/snap/hostname-desktop-bootstrap/171/usr/lib/python3.10/functools.py", line 889, in wrapper return dispatch(args[0].__class__)(*args, **kw) File "/snap/hostname-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/gaps.py", line 281, in _movable_trailing_partitions_and_gap_size_partition part_idx = pgs.index(partition) ValueError: Partition(device=disk-sda, size=6109091840, wipe='superblock', number=1, preserve=True, offset=32768, partition_type='ebd0a0a2-b9e5-4433-87c0-68b6b72699c7', path='/dev/sda1', uuid='1cf7d054-8db5-4194-971f-3c8665684807', id='partition-sda1', type='partition') is not in list