[Bug 2101830] machine profile

bugproxy 2101830 at bugs.launchpad.net
Mon Mar 10 11:09:26 UTC 2025


Default Comment by Bridge

** Attachment added: "machine profile"
   https://bugs.launchpad.net/bugs/2101830/+attachment/5863698/+files/machine_profile.json

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)

** Package changed: ubuntu => debian-installer (Ubuntu)

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

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

Status in The Ubuntu-power-systems project:
  Triaged
Status in subiquity package in Ubuntu:
  New

Bug description:
  == 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

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




More information about the foundations-bugs mailing list