Bug 491845

Summary: PartitionException: Attempting to remove a partition that is not owned by any disk
Product: [Fedora] Fedora Reporter: Ronald Warsow <rwarsow>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, dlehman, fedora, hdegoede, jgranado, jlaska, orion, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:57e1f88ea8ba6eed7548ef97ffe5ec7b52b8dbdc180cbc839a50ed5bcd48c6eb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-06 08:07:49 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    
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Ronald Warsow 2009-03-24 12:45:45 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.36 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.6/site-packages/parted/disk.py", line 194, in removePartition
    if self.__disk.remove_partition(partition.getPedPartition()):
  File "/usr/lib/anaconda/storage/devicetree.py", line 697, in _removeDevice
    dev.disk.partedDisk.removePartition(dev.partedPartition)
  File "/usr/lib/anaconda/storage/devicetree.py", line 731, in registerAction
    self._removeDevice(action.device)
  File "/usr/lib/anaconda/storage/__init__.py", line 600, in destroyDevice
    self.devicetree.registerAction(action)
  File "/usr/lib/anaconda/storage/partitioning.py", line 332, in clearPartitions
    storage.destroyDevice(part)
  File "/usr/lib/anaconda/storage/partitioning.py", line 170, in doAutoPartition
    clearPartitions(anaconda.id.storage)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
PartitionException: Attempting to remove a partition that is not owned by any disk.

Comment 1 Ronald Warsow 2009-03-24 12:45:51 UTC
Created attachment 336450 [details]
Attached traceback automatically from anaconda.

Comment 2 Ronald Warsow 2009-03-24 12:52:49 UTC
the above is from an VM install via boot.iso.

chosen was "replace all linux partitions" (iirc), with review the layout.

nothing to review. only the trace above ...

Comment 3 James Laska 2009-03-24 13:26:21 UTC
Created attachment 336461 [details]
Attached traceback automatically from anaconda.

Comment 4 James Laska 2009-03-24 13:27:59 UTC
*** Bug 491851 has been marked as a duplicate of this bug. ***

Comment 5 Joel Andres Granados 2009-03-24 14:22:06 UTC
this should be fixed in the next version of anaconda  11.5.0.37

Comment 6 Joel Andres Granados 2009-03-24 16:51:21 UTC
*** Bug 491921 has been marked as a duplicate of this bug. ***

Comment 7 Orion Poplawski 2009-03-24 16:54:26 UTC
I think it's better to leave bugs open until they are confirmed fixed and the fix is released to avoid duplicates.  I did a search (of open bugs as is the default) before filing but didn't find anything.

Comment 8 Russell Harrison 2009-03-25 22:54:25 UTC
Created attachment 336716 [details]
Attached traceback automatically from anaconda.

Comment 9 David Lehman 2009-03-25 23:30:37 UTC
(In reply to comment #8)
> Created an attachment (id=336716) [details]
> Attached traceback automatically from anaconda.  

I think your mirror has some issues that are causing you to end up with an outdated install.img. There are several entries in the logs that should not be in logs from anaconda-11.5.0.37. Please try to get your tree from somewhere else and see if your problems remain.

Comment 10 Ronald Warsow 2009-04-05 14:55:07 UTC
to be closed !