This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 522609

Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: Jay Turner <jturner>
Component: anacondaAssignee: Hans de Goede <hdegoede>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: atodorov, dcantrell, ddumas, jlaska, mbanas, srevivo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:c48177fb010f7dae6cbcef7698d797aa000ee87bf3df0023b2c8b49e95c73472
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-21 03:42:26 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 473303    
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Jay Turner 2009-09-10 16:00:48 EDT
The following was filed automatically by anaconda:
anaconda 12.21 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/__init__.py", line 686, in formatByDefault
    if device.format.mountpoint.startswith(p):
  File "/usr/lib/anaconda/iw/raid_dialog_gui.py", line 275, in run
    self.storage.formatByDefault(self.origrequest):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1093, in editRaidArray
    actions = raideditor.run()
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1076, in editCB
    self.editRaidArray(device)
AttributeError: 'NoneType' object has no attribute 'startswith'
Comment 1 Jay Turner 2009-09-10 16:00:52 EDT
Created attachment 360563 [details]
Attached traceback automatically from anaconda.
Comment 2 James Laska 2009-09-10 16:03:25 EDT
This bug was discovered while attempting to add several fedora partitions while leaving several existing RAID1 devices untouched.
Comment 3 James Laska 2009-09-10 16:09:23 EDT
Adding to F12Blocker list for consideration.  This defect seems to be related to having existing RAID members and devices that are left untouched during an install operation.
Comment 4 James Laska 2009-09-10 16:20:03 EDT
Changing to version=rawhide
Comment 5 Jesse Keating 2009-10-06 01:15:49 EDT
Created attachment 363776 [details]
Attached traceback automatically from anaconda.
Comment 6 Hans de Goede 2009-10-06 08:41:52 EDT
This should be fixed by this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=ba96feb99d25b55c4b52abbb1c8e3b06ee17ccbc

Which will be in anaconda-12.34-1

Changing bug to MODIFIED
Comment 7 James Laska 2009-10-07 15:05:06 EDT
Created attachment 364021 [details]
Attached traceback automatically from anaconda.
Comment 8 James Laska 2009-10-07 15:07:00 EDT
Reproduced (see comment#7) using anaconda-12.34 (which doesn't yet have the fix). The reproducer for me was 'custom partitioning', then trying to format an existing /dev/md0 RAID device.
Comment 9 James Laska 2009-10-07 15:46:30 EDT
typo ... comment#8 should have read ...

(In reply to comment #8)
                                              VVVV
> Reproduced (see comment#7) using anaconda-12.33 (which doesn't yet have the
                                              ^^^^
> fix). The reproducer for me was 'custom partitioning', then trying to format an
> existing /dev/md0 RAID device.
Comment 10 Martin Banas 2009-10-08 07:20:39 EDT
Created attachment 364086 [details]
Attached traceback automatically from anaconda.
Comment 11 Hans de Goede 2009-10-21 03:42:26 EDT
rawhide has been using a newer anaconda with the fix in for a while now, closing.