[Bug 1991413] [NEW] Autoinstall with storage-version 2 should guess unspecified offsets
Olivier Gayot
1991413 at bugs.launchpad.net
Fri Sep 30 17:04:49 UTC 2022
Public bug reported:
When storage-version is 2, the following autoinstall excerpt produces an
exception and the install fails.
```
- type: disk
ptable: gpt
wipe: superblock-recursive
path: /dev/sda
grub_device: true
id: disk-1
- type: partition
number: 1
flag: boot
device: disk-1
size: 1G
wipe: superblock
id: partition-boot
- type: partition
number: 1
flag: boot
device: disk-1
size: -1
wipe: superblock
id: partition-boot
```
TypeError: '<' not supported between instances of 'NoneType' and
'NoneType'
Full traceback: https://pastebin.canonical.com/p/Gf5D2wVWhN/
** Affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
When storage-version is 2, the following autoinstall excerpt produces an
exception:
```
- - type: disk
- ptable: gpt
- wipe: superblock-recursive
- path: /dev/sda
- grub_device: true
- id: disk-1
+ - type: disk
+ ptable: gpt
+ wipe: superblock-recursive
+ path: /dev/sda
+ grub_device: true
+ id: disk-1
- - type: partition
- number: 1
- flag: boot
- device: disk-1
- size: 1G
- wipe: superblock
- id: partition-boot
+ - type: partition
+ number: 1
+ flag: boot
+ device: disk-1
+ size: 1G
+ wipe: superblock
+ id: partition-boot
- - type: partition
- number: 1
- flag: boot
- device: disk-1
- size: 1G
- wipe: superblock
- id: partition-boot
+ - type: partition
+ number: 1
+ flag: boot
+ device: disk-1
+ size: -1
+ wipe: superblock
+ id: partition-boot
```
TypeError: '<' not supported between instances of 'NoneType' and
'NoneType'
-
Full traceback: https://pastebin.canonical.com/p/Gf5D2wVWhN/
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1991413
Title:
Autoinstall with storage-version 2 should guess unspecified offsets
Status in subiquity package in Ubuntu:
New
Bug description:
When storage-version is 2, the following autoinstall excerpt produces
an exception and the install fails.
```
- type: disk
ptable: gpt
wipe: superblock-recursive
path: /dev/sda
grub_device: true
id: disk-1
- type: partition
number: 1
flag: boot
device: disk-1
size: 1G
wipe: superblock
id: partition-boot
- type: partition
number: 1
flag: boot
device: disk-1
size: -1
wipe: superblock
id: partition-boot
```
TypeError: '<' not supported between instances of 'NoneType' and
'NoneType'
Full traceback: https://pastebin.canonical.com/p/Gf5D2wVWhN/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1991413/+subscriptions
More information about the foundations-bugs
mailing list