Red Hat Bugzilla – Bug 617593
anaconda backtraces because pyblock does not create a device node for the ext. partition
Last modified: 2010-11-10 16:23:25 EST
+++ This bug was initially created as a clone of Bug #617337 +++
The following was filed automatically by anaconda:
anaconda 13.42 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/__init__.py", line 787, in destroyDevice
if device.format.exists and device.format.type:
File "/usr/lib/anaconda/storage/partitioning.py", line 390, in removeEmptyExtendedPartitions
File "/usr/lib/anaconda/storage/partitioning.py", line 378, in clearPartitions
File "/usr/lib/anaconda/storage/partitioning.py", line 183, in doAutoPartition
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/gui.py", line 1313, in nextClicked
AttributeError: 'NoneType' object has no attribute 'format'
--- Additional comment from firstname.lastname@example.org on 2010-07-22 15:21:34 EDT ---
Created an attachment (id=433792)
Attached traceback automatically from anaconda.
--- Additional comment from email@example.com on 2010-07-22 15:31:54 EDT ---
System uses 1 ATA/IDE disk which contains grub and a Windows partition and 2 SATA disk in an nvidia_raid that contains a Fedora 11 installation. Whenever the nvidia raid is selected for installation the installer stop with the attached messages.
--- Additional comment from firstname.lastname@example.org on 2010-07-23 09:53:55 EDT ---
Thanks for the bug report!
Note to self here is what happening:
1) Due to the fix for bug 583484:
pyblock no longer creates a mapping, and thus a device node for the extended partition itself
2) This means the extended partition does not get added to the device tree
3) This causes this backtrace when auto-partitioning tries to remove the extended partition (as after clearing partitions it is empty).
Make pyblock create a mapping for extended partitions again, but this time one which is compatible with kpartx's mapping to avoid bug 583484.
I hope that your nvidia raid is still in the condition which triggers this fault, I'll provide you with an updates.img with a proposed fix to test this.
This is fixed in python-pyblock-0.48-1.el6, moving to modified.
Red Hat Enterprise Linux 6.0 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.