Public bug reported:

== Comment: #0 - Amit Machhiwal <amit.machhi...@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.machhi...@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 <sthou...@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: ubuntu-power-systems
     Importance: Medium
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: Triaged

** Affects: subiquity (Ubuntu)
     Importance: Medium
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-all bugnameltc-211798 severity-high 
targetmilestone-inin---

** Tags added: architecture-all bugnameltc-211798 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101830

Title:
  [Subiquity] :: The subiquity installer crashes when dry run with a
  machine profile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2101830/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to