Bug 489831

Summary: not removing logical partitions before extended
Product: [Fedora] Fedora Reporter: Nullack <nullack>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, dlehman, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:465cb74d90ab7e43d52d3e65005fa7866e530a90190bc25f009d79f4ed9215bb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-20 01:00:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description Nullack 2009-03-12 04:16:01 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.27 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 177, in removePartition
    if self.__disk.remove_partition(partition.getPedPartition()):
  File "/usr/lib/anaconda/storage/partitioning.py", line 579, in allocatePartitions
    partedDisk.removePartition(_part.partedPartition)
  File "/usr/lib/anaconda/storage/partitioning.py", line 525, in doPartitioning
    allocatePartitions(disks, partitions)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1005, in refresh
    doPartitioning(self.storage)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1113, in editPartition
    if self.refresh(justRedraw=not actions):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 962, in newCB
    self.editPartition(device, isNew=1)
PartedException: Assertion (part->part_list == NULL) at disk.c:1824 in function ped_disk_remove_partition() failed.

Comment 1 Nullack 2009-03-12 04:16:09 UTC
Created attachment 334893 [details]
Attached traceback automatically from anaconda.

Comment 2 Nullack 2009-03-12 15:42:19 UTC
This is still occuring on Anaconda revision 11-5.0.28-1. I got to setting up my last partition, SDB6, an EXT4 /home partition, and an unhandled exception occured when I tried to create the new partition using the rest of the size available on the disk.

Comment 3 Chris Lumens 2009-03-19 21:44:17 UTC
Could you describe exactly what you are doing here?  What's the previous state of the disk, and what actions do you take to arrive at the traceback above?  I'm working on reproducing this one so I can fix it.

Comment 4 David Lehman 2009-03-20 01:00:26 UTC
This should be fixed in 11.5.0.31-1 (commit 78c68671e51d). Please reopen this bug if this is not the case. Thanks for the bug report.