partition number required when preserving existing partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Incomplete
|
Undecided
|
Unassigned | ||
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
When preserving existing partitions, the partition number must be explicitly provided. When existing partitions are not preserved, partition numbers do not need to be provided for curtin to create the same disk layout. The curtin documentation indicates partition numbers are not required.
A user-data file is attached that demonstrates the problem. For anybody trying to use it, it is designed to be run on an EFI system. Partitioning is done via an early command.
At the time the error occurs, neither /var/log/curtin nor /var/log/
The actual error message is:
2020-06-29 23:03:10,964 INFO root:39 start: subiquity/
2020-06-29 23:03:10,965 DEBUG subiquitycore.
2020-06-29 23:03:10,965 DEBUG subiquity.
2020-06-29 23:03:10,966 DEBUG subiquity.
2020-06-29 23:03:10,966 DEBUG subiquity.
2020-06-29 23:03:10,966 ERROR root:39 finish: subiquity/
2020-06-29 23:03:10,967 ERROR subiquitycore.
Traceback (most recent call last):
File "/snap/
await self.curtin_
File "/snap/
return await meth(self, **kw)
File "/snap/
curtin_cmd = self._get_
File "/snap/
self.
File "/snap/
merge_
File "/snap/
'config': self._render_
File "/snap/
if can_emit(obj):
File "/snap/
if p._number < obj._number and p.id not in emitted_ids:
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Ignore the originally attached user-data. That was for a different bug. The correct (broken) user-data is attached here.