[Bug 1993633] [NEW] Installation crash if 'custom 'is selected in guided storage screen and having a LUN with a previous installation on it

Launchpad Bug Tracker 1993633 at bugs.launchpad.net
Thu Oct 20 19:04:35 UTC 2022


You have been subscribed to a public bug by Dan Bungert (dbungert):

While doing an interactive installation with the latest kinetic ISO image (on s390x, but I think it's not limited to this architecture) using a SCSI LUN as disk storage that has a previous installation on it, I'm facing the following crash, in case I select 'Custom storage layout' at the 
'Guided storage configuration' screen.

The remote ssh installation session drops with the following output:

generating crash report
report saved to /var/crash/1666201519.789847612.ui.crash
Traceback (most recent call last):
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/client/controllers/filesystem.py", line 258, in _guided_choice
    self.ui.set_body(FilesystemView(self.model, self))
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 476, in __init__
    self.refresh_model_inputs()
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 522, in refresh_model_inputs
    self.avail_list.refresh_model_inputs()
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 410, in refresh_model_inputs
    for obj, cells in summarize_device(device, filter):
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/ui/views/filesystem/helpers.py", line 34, in summarize_device
    anns = labels.annotations(device) + labels.usage_labels(device)
  File "/snap/subiquity/4005/usr/lib/python3.8/functools.py", line 875, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/common/filesystem/labels.py", line 96, in _annotations_vg
    member = next(iter(vg.devices))
StopIteration

 The above exception was the direct cause of the following exception:
 
 Traceback (most recent call last):
   File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquity/client/client.py", line 407, in run
     super().run()
   File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquitycore/tui.py", line 381, in run
     super().run()
   File "/snap/subiquity/4005/lib/python3.8/site-packages/subiquitycore/core.py", line 135, in run
     raise exc
 RuntimeError: coroutine raised StopIteration

also:

 2022-10-19 17:45:19,787 DEBUG subiquity.models.filesystem:1271 exclusions set()
 2022-10-19 17:45:19,789 DEBUG subiquity.common.errorreport:384 generating crash report
 2022-10-19 17:45:19,794 INFO subiquity.common.errorreport:406 saving crash report 'Installer UI crashed with RuntimeError' to /var/crash/1666201519.789847612.ui.crash
 2022-10-19 17:45:19,794 INFO subiquity/ErrorReporter/1666201519.789847612.ui/add_info:107 start:
InstallerLogInfo:

The full /var/log and /var/crash content from two different system are
attached.

This is a spin-off from bug LP#1993257.

After an initial chat with dbungert, it's believed that wipefs doesn't
do a proper job and leaves other components in unspecific states.


Reconnecting to the installer and trying to 'Continue' does not work.
But manually wiping the disks on the LUN with for example:
wipefs -a -f /dev/sda1
wipefs -a -f /dev/sda2
wipefs -a -f /dev/sda
AND then restarting the installation from scratch works
and will finally show an empty disk at the 'Custom storage layout'.

** Affects: subiquity
     Importance: High
         Status: New

** Affects: ubuntu-z-systems
     Importance: Undecided
         Status: New


** Tags: installer
-- 
Installation crash if 'custom 'is selected in guided storage screen and having a LUN with a previous installation on it
https://bugs.launchpad.net/bugs/1993633
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list