Bug 576628

Summary: AttributeError: 'DMRaidMember' object has no attribute 'partedDisk'
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell, hdegoede, jlaska, jonathan, jturner, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:9e5f9f734f9a8431197f1ca9d2b27cb8a2ca89b3b1e461b7f905d8ef2a0f6bb0
Fixed In Version: anaconda-13.37-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 576649 577383 (view as bug list) Environment:
Last Closed: 2010-03-27 04:54:10 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: 538274, 577383    
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description James Laska 2010-03-24 16:43:34 UTC
The following was filed automatically by anaconda:
anaconda 13.36 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/__init__.py", line 827, in extendedPartitionsSupported
    if disk.format.partedDisk.supportsFeature(parted.DISK_TYPE_EXTENDED):
  File "/usr/lib/anaconda/iw/partition_dialog_gui.py", line 515, in __init__
    if self.storage.extendedPartitionsSupported():
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1670, in editPartition
    isNew = isNew, restrictfs = restrictfs)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1560, in createCB
    self.editPartition(device, isNew = True)
AttributeError: 'DMRaidMember' object has no attribute 'partedDisk'

Comment 1 James Laska 2010-03-24 16:43:37 UTC
Created attachment 402355 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2010-03-24 16:47:12 UTC
= Steps to reproduce =
 1. Initiate F-13-Beta-TC1 install on an system with existing BIOS RAID install
 2. Select 'custom' partitioning
 3. One-by-one, delete existing BIOS RAID partitions
 4. Attempt to create a new partition on the BIOS RAID device

Adding to F13Beta per following Beta release criteria [1]

  "#  The installer must be able to create and install to software, hardware or BIOS RAID-0, RAID-1 or RAID-5 partitions for anything except /boot "

Still testing to determine if this affects *ALL* BIOS RAID installs, or just detailed partition edits of existing BIOS RAID devices.

[1] https://fedoraproject.org/wiki/Fedora_13_Beta_Release_Criteria

Comment 3 James Laska 2010-03-24 17:01:44 UTC
Created attachment 402357 [details]
Attached traceback automatically from anaconda.

Comment 4 James Laska 2010-03-24 17:07:07 UTC
Seems like any attempts to create partitions on a BIOS RAID device fail with this error.

Comment 5 Hans de Goede 2010-03-24 17:39:36 UTC
Here is a proposed patch fixing this:

http://www.redhat.com/archives/anaconda-devel-list/2010-March/msg00379.html

dlehman, feel free to commit this yourself (I'm sick, so it might be a while before I get around to it).

Comment 6 Hans de Goede 2010-03-24 18:09:44 UTC
The patch for this will be in anaconda-13.37-1, moving to modified.

Comment 7 Jesse Keating 2010-03-26 19:39:03 UTC
Confirmed fixed with 13.37-1

Comment 8 Fedora Update System 2010-03-27 03:26:37 UTC
anaconda-13.37-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.37-1.fc13

Comment 9 Fedora Update System 2010-03-27 04:53:20 UTC
anaconda-13.37-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.