Crash when removing a Raid in manual partitioning

Bug #1999173 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
High
Dan Bungert

Bug Description

In Subiquity 22.10.1, attempting to remove a raid during manual partitioning results in the following traceback:

   File "/snap/subiquity/4003/lib/python3.8/site-packages/subiquity/ui/views/filesystem/delete.py", line 104, in confirm
     self.parent.controller.delete(self.obj)
   File "/snap/subiquity/4003/lib/python3.8/site-packages/subiquity/common/filesystem/manipulator.py", line 159, in delete
     getattr(self, 'delete_' + obj.type)(obj)
   File "/snap/subiquity/4003/lib/python3.8/site-packages/subiquity/common/filesystem/manipulator.py", line 116, in delete_raid
     self.delete_partition(p, True)
   File "/snap/subiquity/4003/lib/python3.8/site-packages/subiquity/common/filesystem/manipulator.py", line 97, in delete_partition
     self.model.remove_partition(part)
   File "/snap/subiquity/4003/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 1476, in remove_partition
     part.device.renumber_logical_partitions(part)
 AttributeError: 'Raid' object has no attribute 'renumber_logical_partitions'

Dan Bungert (dbungert)
Changed in subiquity:
assignee: nobody → Dan Bungert (dbungert)
importance: Undecided → High
status: New → In Progress
Dan Bungert (dbungert)
Changed in subiquity:
status: In Progress → Fix Committed
Olivier Gayot (ogayot)
Changed in subiquity:
status: Fix Committed → Fix Released
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.