raid1 install fails
Bug #2012725 reported by
Paride Legovini
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-
Subiquity on the Focal and Jammy images is not affected.
The attached log shows a traceback.
[1] https:/
Changed in subiquity: | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
https:/ /github. com/canonical/ subiquity/ commit/ ce146ab28a517be b3136432feeb448 66ddf94137 added a path @property to raid objects, building a path from the name. /github. com/canonical/ subiquity/ commit/ 8e658998ef53b20 6d70e9913d8b863 da1c6404d4 added a path attribute to all filesystem objects, including raid. For raid, this new attribute is shadowed by the path @property. /github. com/canonical/ subiquity/ commit/ 8b47359ef22ea5c 8c57b683745b899 ac57a3ac2b 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).
https:/
https:/