Using kinetic daily subiquity crashes if trying to edit LVM volume to change size (on s390x)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
subiquity |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
While testing LP#1986551 (which worked fine and is solved) I ran into a new problem while trying to increase the size of an LVM volume.
By default only half of the size of an LVM is allocated (which I don't like, but that's a different story).
So I almost all the time modify the logical volume size to it's max.
But with the kinetic daily from today (Sept 1st, pending) subiquity crashes at that stage:
That is one screen prior to the crash:
▄▄▄▄▄▄▄
Guided storage configuration [ Help ]
▀▀▀▀▀▀▀
Configure a guided storage layout, or create a custom one:
(X) Use an entire disk ▴
[ 0x6005076306 multipath device 64.000G ▾ ]█
0000002603 █
[X] Set up this disk as an LVM group █
[ ] Encrypt the LVM group with LUKS █
This is the screen where the crash happens:
▄▄▄▄▄▄▄
Storage configuration [ Help ]
▀▀▀▀▀▀▀
FILE SYSTEM SUMMARY ▴
MOUNT POINT SIZE TYPE DEVICE TYPE █
[ / 30.996G new ext4 new LVM logical volume ▸ ] █
[ /boot 2.000G new ext4 new partition of multipath device ▸ ] █
AVAILABLE DEVICES █
DEVICE TYPE SIZE
[ ubuntu-vg (new) LVM volume group 61.996G ▸ ]
free space 31.000G ▸
[ Create software RAID (md) ▸ ]
[ Create volume group (LVM) ▸ ]
I scroll down:
▄▄▄▄▄▄▄
Storage configuration [ Help ]
▀▀▀▀▀▀▀
[ Create software RAID (md) ▸ ]
[ Create volume group (LVM) ▸ ]
USED DEVICES
DEVICE TYPE SIZE
[ ubuntu-vg (new) LVM volume group 61.996G ▸ ]
ubuntu-lv new, to be formatted as ext4, mounted at / 30.996G ▸
[ 0x6005076306ffd
partition 1 new, to be formatted as ext4, mounted at 2.000G ▸
partition 2 new, PV of LVM volume group ubuntu-vg 61.998G ▸ █
I'll navigate to the line:
"ubuntu-lv new, to be formatted as ext4, mounted at / 30.996G"
select "Edit"
and immediately hit the crash:
generating crash report
report saved to /var/crash/
Traceback (most recent call last):
File "/snap/
return _run_code(code, main_globals, None,
File "/snap/
exec(code, run_globals)
File "/snap/
sys.
File "/snap/
subiquity_
File "/snap/
super().run()
File "/snap/
super().run()
File "/snap/
raise exc
File "/snap/
self.
File "/snap/
wrapper = lambda: self.parse_input(
File "/snap/
callback(
File "/snap/
self.
File "/snap/
k = self._topmost_
File "/snap/
return self._current_
File "/snap/
return self.top_
File "/snap/
return super()
File "/snap/
key = self.focus.
File "/snap/
key = w.keypress((mc,) + size[1:], key)
File "/snap/
return lb.keypress(size, key)
File "/snap/
upkey = super()
File "/snap/
key = focus_widget.
File "/snap/
self.
File "/snap/
signals.
File "/snap/
result |= self._call_
File "/snap/
return bool(callback(
File "/snap/
self.
File "/snap/
self.
File "/snap/
signals.
File "/snap/
result |= self._call_
File "/snap/
return bool(callback(
File "/snap/
meth(device)
File "/snap/
self.
File "/snap/
lambda parent, part: PartitionStretc
File "/snap/
gaps.
File "/snap/
pgs = parts_and_
AttributeError: 'LVM_LogicalVolume' object has no attribute 'device'
Connection to s1lp15 closed.
While continuing with the installation I repeatedly run into this crash - one will notice 3 crash files in the attached tgz that contains the /var/crash and /var/log content.
tags: | added: fr-2651 |
tags: | removed: rls-kk-incoming |
tags: | added: foundations-todo |
Changed in subiquity: | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in subiquity: | |
status: | Triaged → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → In Progress |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
I should add that if I do not touch the setting:
"ubuntu-lv new, to be formatted as ext4, mounted at / 30.996G"
and just proceed with the defaults, I am able to complete the installation.