[Bug 2101830] [NEW] [Subiquity] :: The subiquity installer crashes when dry run with a machine profile
Launchpad Bug Tracker
2101830 at bugs.launchpad.net
Mon Mar 10 11:09:46 UTC 2025
You have been subscribed to a public bug:
== Comment: #0 - Amit Machhiwal <Amit.Machhiwal at ibm.com> - 2025-03-10 05:55:09 ==
---Problem Description---
Subiquity installer crash when the installer is dry run with a machine profile generated from an LPAR
I collected the machine profile on the logical partition by
running the below command:
PYTHONPATH=probert ./probert/bin/probert --all > mymachine.json
as mentioned at the below link in upstream Subiquity:
https://github.com/canonical/subiquity/blob/main/README.md#:~:text=PYTHONPATH%3Dprobert%20./probert/bin/probert%20%2D%2Dall%20%3E%20mymachine.json
Then DRY-RUN the Subiquity installer with this collected machine profile and
proceeding with the on-screen instructions on both PPC and x86 hosts as below:
make dryrun MACHINE=machine_profile.json
The below installer crash is observed:
Traceback (most recent call last):
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/client/controllers/filesystem.py", line 273, in _guided_choice
self.ui.set_body(FilesystemView(self.model, self))
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 485, in __init__
self.refresh_model_inputs()
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 540, in refresh_model_inputs
self.avail_list.refresh_model_inputs()
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 417, in refresh_model_inputs
for obj, cells in summarize_device(device, filter):
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/ui/views/filesystem/helpers.py", line 32, in summarize_device
anns = labels.annotations(device) + labels.usage_labels(device)
File "/snap/subiquity/6065/usr/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/snap/subiquity/6065/lib/python3.10/site-packages/subiquity/common/filesystem/labels.py", line 100, in _annotations_vg
member = next(iter(vg.devices))
StopIteration
The expectation is the installer should not be crashing.
Contact Information = amit.machhiwal at ibm.com
Machine Type = Subiquity installer dry run
---uname output---
NA
---boot type---
Subiquity dry run with machine profile
---Kernel cmdline used to launch install---
NA
---Install repository type---
Subiquity dry run with machine profile
---Point of failure---
Failed during boot of installer
== Comment: #3 - SEETEENA THOUFEEK <sthoufee at in.ibm.com> - 2025-03-10 06:04:31 ==
It's with upstream subiquity
4:34
https://github.com/canonical/subiquity
canonical/subiquity
Ubuntu Server Installer, and backend for Ubuntu Desktop Installer
Website
https://canonical-subiquity.readthedocs-hosted.com/en/latest/
Stars
501
Added by GitHub
** Affects: debian-installer (Ubuntu)
Importance: Undecided
Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
Status: New
** Tags: architecture-all bugnameltc-211798 severity-high targetmilestone-inin---
--
[Subiquity] :: The subiquity installer crashes when dry run with a machine profile
https://bugs.launchpad.net/bugs/2101830
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
More information about the foundations-bugs
mailing list