+++ This bug was initially created as a clone of Bug #580088 +++
The following was filed automatically by anaconda:
anaconda 13.37.2 exception report
Traceback (most recent call first):
File "/usr/lib/python2.6/site-packages/parted/disk.py", line 269, in removePartition
File "/usr/lib/python2.6/site-packages/parted/decorators.py", line 31, in localeC
ret = fn(*args, **kwds)
File "<string>", line 2, in removePartition
File "/usr/lib/anaconda/storage/formats/disklabel.py", line 276, in removePartition
File "/usr/lib/anaconda/storage/devices.py", line 1342, in destroy
File "/usr/lib/anaconda/storage/deviceaction.py", line 218, in execute
File "/usr/lib/anaconda/storage/devicetree.py", line 677, in processActions
File "/usr/lib/anaconda/storage/__init__.py", line 290, in doIt
File "/usr/lib/anaconda/packages.py", line 109, in turnOnFilesystems
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
File "/usr/lib/anaconda/text.py", line 659, in run
File "/usr/bin/anaconda", line 1188, in <module>
PartitionException: Attempting to remove a partition that is not owned by any disk.
--- Additional comment from email@example.com on 2010-04-07 09:16:34 EDT ---
Created an attachment (id=404949)
Attached traceback automatically from anaconda.
--- Additional comment from firstname.lastname@example.org on 2010-05-01 20:42:15 EDT ---
*** Bug 587835 has been marked as a duplicate of this bug. ***
--- Additional comment from email@example.com on 2010-05-03 16:27:34 EDT ---
We remove a partition, then the disklabel commit fails because the partition is in use. We do not put the partition back while in the exception handler, and then we end up trying to remove it again only to find that there is nothing there to remove. What we need to do is add the partition back to the parted.Disk instance when the commit fails ala commit b3337f7d91c5d.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Can we get a qa_ack for this? Issued discovered and fixed during F-13 development, affects RHEL-6 too.
*** Bug 610749 has been marked as a duplicate of this bug. ***
Testing with snapshot #7, anaconda 13.21.56 and the steps to reproduce from the duplicate bug:
Didn't result in traceback. I was able to delete old partitions and create new ones and write changes to disk. Anaconda was able to proceed to package selection. Install completed and the system was able to boot.
Moving to VERIFIED.
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.