Bug 1001888

Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: Shawn Starr <shawn.starr>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jdulaney, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4d95e5db485a0e03aa47b82a9a58473c07f185e47e5e84debbb8cc0021b3208b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-28 04:23:26 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Shawn Starr 2013-08-28 04:04:22 UTC
Description of problem:
PXE installation with a kickstart:

PXE boot parameters to initramfs:  append initrd=initrd-x86_64.img ip=dhcp ks=ftp://172.18.2.4/ks.cfg inst.stage2=ftp://172.18.2.4/os-x86_64 slub_debug=

kickstart:

rootpw letmein
install
#url --url http://172.18.2.3/fedora

#ftp --server=192.168.10.1
#nfs --server=172.18.2.4 --dir=/var/lib/libvirt/images
lang en_US.UTF-8
#network --device eth0 --bootproto static
# --bootproto dhcp
selinux --disabled

%pre
%end

firewall --disabled
authconfig --enableshadow --enablemd5
#keyboard 'us'
timezone --utc America/Toronto
zerombr
clearpart --all --drives=vda
part /boot --fstype ext2 --size=300 --asprimary
part / --fstype ext2 --grow --size=1024 --asprimary
bootloader --location=mbr --driveorder=vda --timeout=5

%packages --nobase --excludedocs
@Standard
kernel
grub2
-sendmail
net-tools
chrony
%end

%post --log=/root/dump.log
echo "Disabling services: mcelog, smartd, firewalld, atd, crond"
chkconfig mcelog off
chkconfig smartd off
chkconfig firewalld off
chkconfig atd off
chkconfig crond off
chkconfig chronyd on

echo "1 letmein" >> /etc/chrony.keys
%end

Set the keyboard to US manually, then tried to select installation source, Anaconda crashed.

Version-Release number of selected component:
anaconda-20.8-1

The following was filed automatically by anaconda:
anaconda 20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py", line 651, in refresh
    if proto.startswith("http:"):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 108, in _runSpoke
    action.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 413, in _on_spoke_clicked
    self._runSpoke(spoke)
AttributeError: 'NoneType' object has no attribute 'startswith'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd-x86_64.img ip=dhcp ks=ftp://172.18.2.4/ks.cfg inst.stage2=ftp://172.18.2.4/os-x86_64 slub_debug=- BOOT_IMAGE=vmlinuz-x86_64 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-0.rc6.git4.1.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Alpha-TC1

Comment 1 Shawn Starr 2013-08-28 04:04:28 UTC
Created attachment 791237 [details]
File: anaconda-tb

Comment 2 Shawn Starr 2013-08-28 04:04:34 UTC
Created attachment 791238 [details]
File: anaconda.log

Comment 3 Shawn Starr 2013-08-28 04:04:38 UTC
Created attachment 791239 [details]
File: environ

Comment 4 Shawn Starr 2013-08-28 04:04:41 UTC
Created attachment 791240 [details]
File: ks.cfg

Comment 5 Shawn Starr 2013-08-28 04:04:44 UTC
Created attachment 791241 [details]
File: lsblk_output

Comment 6 Shawn Starr 2013-08-28 04:04:48 UTC
Created attachment 791242 [details]
File: nmcli_dev_list

Comment 7 Shawn Starr 2013-08-28 04:04:52 UTC
Created attachment 791243 [details]
File: os_info

Comment 8 Shawn Starr 2013-08-28 04:04:55 UTC
Created attachment 791244 [details]
File: program.log

Comment 9 Shawn Starr 2013-08-28 04:04:59 UTC
Created attachment 791245 [details]
File: storage.log

Comment 10 Shawn Starr 2013-08-28 04:05:04 UTC
Created attachment 791246 [details]
File: syslog

Comment 11 Shawn Starr 2013-08-28 04:05:08 UTC
Created attachment 791247 [details]
File: ifcfg.log

Comment 12 Shawn Starr 2013-08-28 04:05:12 UTC
Created attachment 791248 [details]
File: packaging.log

Comment 13 Shawn Starr 2013-08-28 04:23:26 UTC
Due to blocker bug this may not be reliable, if I reproduce the blocker bug for hostname is fixed, then create new bug

Comment 14 John Dulaney 2013-08-28 04:24:27 UTC

*** This bug has been marked as a duplicate of bug 1000715 ***