Bug 1302352

Summary: AttributeError: 'NoneType' object has no attribute 'mountpoints'
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 23CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 19:34:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Todorov 2016-01-27 14:58:09 UTC
Description of problem:

anaconda 23.19.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/dnfpayload.py", line 550, in spaceRequired
    for (key, val) in self.storage.mountpoints.items():
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/lib/space.py", line 76, in check
    needed = self.payload.spaceRequired
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 79, in prompt
    if self._checker and not self._checker.check():
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 346, in _mainloop
    prompt = last_screen.prompt(self._screens[-1][1])
AttributeError: 'NoneType' object has no attribute 'mountpoints'

Local variables in innermost frame:
download_size: 0 B
root_mpoint: /mnt/sysimage
size: 2.79 GiB
valid_points: {'/dev/shm': Size('15.68 GiB'), '/run/install/repo': Size('1 MiB'), '/dev': Size('15.66 GiB'), '/sys/fs/cgroup': Size('15.68 GiB'), '/tmp': Size('15.66 GiB'), '/': Size('940.67 MiB'), '/run': Size('15.66 GiB')}
self: <pyanaconda.packaging.dnfpayload.DNFPayload object at 0x7fd3d169dc50>


This happened with a regular kickstart install today. I've not seen it before with the same ks. Here's my kicstart file:



nfs --server example.com --dir /pub/fedora/linux/releases/23/Server/x86_64/os/

# System bootloader configuration
bootloader --location=mbr
text
# no specific network configuration

repo --name=fedora-updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f23&arch=x86_64
repo --name=beaker-Server-debuginfo --cost=100 --baseurl=http://example.com/pub/fedora/linux/releases/23/Server/x86_64/debug
repo --name=beaker-Fedora-Everything --cost=100 --baseurl=http://example.com/pub/fedora/linux/releases/23/Everything/x86_64/os
repo --name=beaker-Fedora --cost=100 --baseurl=http://example.com/pub/fedora/linux/releases/23/Server/x86_64/os/

firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US.UTF-8

reboot
#Root password
rootpw example
# SELinux configuration
selinux --enforcing


timezone Europe/Sofia
install

zerombr
clearpart --all --initlabel

autopart

%packages --ignoremissing
@desktop-platform-devel
@development
@development-libs
@development-tools
@server-platform-devel
emacs
expect
gcc
libxml2-python
make
nfs-utils
ntp
procmail
psmisc
pyOpenSSL
redhat-lsb
sendmail
vim-enhanced
wget
chrony
%end

Comment 1 David Shea 2016-01-27 19:34:06 UTC

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