raid1 install fails

Bug #2012725 reported by Paride Legovini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Committed
Undecided
Olivier Gayot

Bug Description

Subiquity crashes while installing Lunar with a RAID1 configuration. Steps to reproduce are those of the RAID1 iso tracker test case [1]. This also fails in automation.

To reproduce locally:

  qemu-img create -f qcow2 image.qcow2 10G
  qemu-img create -f qcow2 image2.qcow2 10G
  virt-install --os-variant ubuntu22.04 --name lunar-raid --memory 2048 --disk image.qcow2 --disk image2.qcow2 --cdrom lunar-live-server-amd64.iso

Subiquity on the Focal and Jammy images is not affected.

The attached log shows a traceback.

[1] https://iso.qa.ubuntu.com/qatracker/milestones/441/builds/274702/testcases/1710/results

Tags: iso-testing
Revision history for this message
Paride Legovini (paride) wrote :
tags: added: iso-testing
Olivier Gayot (ogayot)
Changed in subiquity:
assignee: nobody → Olivier Gayot (ogayot)
status: New → In Progress
Revision history for this message
Olivier Gayot (ogayot) wrote :

https://github.com/canonical/subiquity/commit/ce146ab28a517beb3136432feeb44866ddf94137 added a path @property to raid objects, building a path from the name.
https://github.com/canonical/subiquity/commit/8e658998ef53b206d70e9913d8b863da1c6404d4 added a path attribute to all filesystem objects, including raid. For raid, this new attribute is shadowed by the path @property.
https://github.com/canonical/subiquity/commit/8b47359ef22ea5c8c57b683745b899ac57a3ac2b introduced path updates after running curtin. It results in an AttributeError for raid because the `path` attribute is overridden by the `path` @property (which has no setter).

Revision history for this message
Olivier Gayot (ogayot) wrote :
Olivier Gayot (ogayot)
Changed in subiquity:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.