Bug 491921

Summary: PartitionException: Attempting to remove a partition that is not owned by any disk
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, jgranado, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-24 16:51:21 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:
Bug Depends On:    
Bug Blocks: 476774    

Description Orion Poplawski 2009-03-24 16:44:08 UTC
Description of problem:

Trying to install rawhide on system with existing windows and linux install. kickstart partition commands:

clearpart --linux
part /boot --fstype ext3 --size=100
part / --fstype ext3 --size=8000
part swap --recommended
part /export --fstype ext3 --size=100 --grow
bootloader --location=mbr

....
 File "/usr/lib/anaconda/devicetree.py", line 697, in _removeDevice
   dev.disk.partedDisk.removePartition(dev.partedPartition)
 File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 194, in removePartition
   if self.__disk.remove_partition(partition.getPedPartition()):
_ped.PartitionException: Attempting to remove a partition that is not owned by any disk

VT3:
DEBUG: clearpart: looking at sda1
DEBUG: clearpart: looking at sda2
DEBUG: clearpart: looking at sda3
DEBUG: clearing sda3
DEBUG: partitions: ['sda1','sda2']
DEBUG: getFormat('None') returning DeviceFormat instance
DEBUG: registered action: Destroy Format None on sda3 (partition)

Version-Release number of selected component (if applicable):
11.5.0.36

Comment 1 Joel Andres Granados 2009-03-24 16:51:21 UTC

*** This bug has been marked as a duplicate of bug 491845 ***