Bug 885279

Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, jsedlak, pf.rhlists, robatino, rtguille, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2d3a9318ea0bde65aabf2ed3b9362f9e42ad9caa56b4aea16ae682657ab4d244 AcceptedBlocker
Fixed In Version: anaconda-18.37.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-15 03:18:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 752661    
Description Flags
File: anaconda-tb
File: environ
File: type
File: storage.log
File: version
File: program.log
File: executable
File: product
File: anaconda.log
File: hashmarkername
File: packaging.log
File: cmdline_file
File: release
File: messages none

Description Chris Murphy 2012-12-08 05:12:27 UTC
Description of problem:
Started with a non-empty disk, and headed directly to Manual Partitioning.
1. Removed all partitions.
2. + icon to add the first new installation partition, typed in the name swap, set size to 5G, clicked OK.

Version-Release number of selected component:

Additional info:
libreport version: 2.0.18
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.9-4.fc18.x86_64

:The following was filed automatically by anaconda:
:anaconda 18.37 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1773, in on_add_clicked
:    (mountpoint.startswith("/boot") or
:AttributeError: 'NoneType' object has no attribute 'startswith'

Comment 1 Chris Murphy 2012-12-08 05:12:32 UTC
Created attachment 659705 [details]
File: anaconda-tb

Comment 2 Chris Murphy 2012-12-08 05:12:34 UTC
Created attachment 659706 [details]
File: environ

Comment 3 Chris Murphy 2012-12-08 05:12:35 UTC
Created attachment 659707 [details]
File: type

Comment 4 Chris Murphy 2012-12-08 05:12:38 UTC
Created attachment 659708 [details]
File: storage.log

Comment 5 Chris Murphy 2012-12-08 05:12:39 UTC
Created attachment 659709 [details]
File: version

Comment 6 Chris Murphy 2012-12-08 05:12:41 UTC
Created attachment 659710 [details]
File: program.log

Comment 7 Chris Murphy 2012-12-08 05:12:42 UTC
Created attachment 659711 [details]
File: executable

Comment 8 Chris Murphy 2012-12-08 05:12:44 UTC
Created attachment 659712 [details]
File: product

Comment 9 Chris Murphy 2012-12-08 05:12:46 UTC
Created attachment 659713 [details]
File: anaconda.log

Comment 10 Chris Murphy 2012-12-08 05:12:47 UTC
Created attachment 659714 [details]
File: hashmarkername

Comment 11 Chris Murphy 2012-12-08 05:12:49 UTC
Created attachment 659715 [details]
File: packaging.log

Comment 12 Chris Murphy 2012-12-08 05:12:50 UTC
Created attachment 659716 [details]
File: cmdline_file

Comment 13 Chris Murphy 2012-12-08 05:12:52 UTC
Created attachment 659717 [details]
File: release

Comment 14 Chris Murphy 2012-12-08 05:12:54 UTC
Created attachment 659718 [details]
File: messages

Comment 15 Chris Murphy 2012-12-08 05:25:33 UTC
Bug is 100% reproducible. Proposing as blocker.

Fedora 18 beta release criterion #10: custom partitioning mode must be capable of...Creating, destroying and assigning mount points to partitions of any specified size using most commonly-used filesystem types...and rejecting obviously invalid operations without crashing.

Comment 16 Chris Murphy 2012-12-08 05:45:45 UTC
Also reproducible with a blank virtual disk. And it doesn't matter what order I try to manually add a swap mount point, or what size I use, I get a crash. Seems like a regression, I'm sure this used to work.

Comment 17 Jan Sedlák 2012-12-10 13:54:17 UTC
Tried to add swap partition.

Package: anaconda-18.37
OS Release: Fedora release 18

Comment 18 Reartes Guillermo 2012-12-10 14:40:29 UTC
i selected one disk, went to manual partitioning (but set type to btrfs) 

i deleted all partitions

it happens when i create a 'swap' (example size: 512mb)

Package: anaconda-18.37
OS Release: Fedora release 18

Comment 19 Reartes Guillermo 2012-12-10 14:52:28 UTC

Manual Partitioning (TYPE set to BTRFS)
Manual Partitioning (TPYE set to LVM)


Manual Partitioning (TPYE set to STANDARD PARTITION)

Comment 20 Adam Williamson 2012-12-10 19:33:36 UTC
Discussed at 2012-12-10 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-10/f18final-blocker-review-3.2012-12-10-17.13.log.txt . Accepted as a blocker per criterion "The installer must be able to create and install to any workable partition layout using any file system offered in a default installer configuration, LVM, software, hardware or BIOS RAID, or combination of the above".

Comment 21 Fedora Update System 2012-12-12 19:20:21 UTC
anaconda-18.37.2-1.fc18 has been submitted as an update for Fedora 18.

Comment 22 Fedora Update System 2012-12-12 20:42:50 UTC
Package anaconda-18.37.2-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.37.2-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 23 Chris Murphy 2012-12-12 22:32:34 UTC
anaconda-18.37.2-1 fixes this bug for me.

Comment 24 Fedora Update System 2012-12-15 03:18:37 UTC
anaconda-18.37.2-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.