Bug 1195857

Summary: [centos7] Missing chunksize with thinp volumes leads to stacktrace
Product: [Fedora] Fedora Reporter: Fabian Deutsch <fdeutsch>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: 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: 2015-02-24 20:03:08 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:
Bug Depends On:    
Bug Blocks: 1140646    

Description Fabian Deutsch 2015-02-24 17:32:34 UTC
Description of problem:
This storage layout:

clearpart --all --initlabel # --disklabel=gpt
bootloader --timeout=1
part biosboot --size=1 --fstype biosboot
part /boot --size=512 --fstype ext4 --label=Boot --asprimary
part pv.01 --grow
volgroup HostVG pv.01
logvol none --vgname=HostVG --name=ImagePool --size=3072 --grow --thinpool
logvol /    --vgname=HostVG --name=Image-0.0 --size=3072 --thin --poolname=ImagePool --fstype=ext4 --fsoptions=discard
logvol /var --vgname=HostVG --name=Data      --size=5120 --thin --poolname=ImagePool --fstype=ext4 --fsoptions=discard
logvol swap --vgname=HostVG                  --size=1024 --fstype=swap


leads to a stacktrace with the centos7 installer:

17:23:20 [7m[anaconda] 1:main* 2:shell  3:log  4:storage-log  5:program-log                 [m[24;1H[1;24r[H[1;23rStarting installer, one moment...[1;24r[H[33C
17:23:26 [1;23r[H
17:23:26 anaconda 19.31.79-1 for CentOS 7 started.[1;24r[H[2B[1;23r[H[2BStarting automated install.[1;24r[H[3;28H[1;23r[H[3;28H.[1;24r[H[3;29H[1;23r[H[3;29H.[1;24r[H[3;30H[1;23r[H[3;30H.[1;24r[H[3;31H[1;23r[H[3BGenerating updated storage configuration[1;24r[H[4B[1;23r[H[5B** (anaconda:1260): WARNING **: Could not open X display[1;24r[H[6B[1;23r[H[6BAn unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details[1;24r[H[8B[1;23r[H[9B===============================================================================
17:23:36 An unknown error has occurred
17:23:36 ===============================================================================
17:23:36 anaconda 19.31.79-1 exception report
17:23:36 Traceback (most recent call first):
17:23:36   File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 845, in execute
17:23:36     "chunksize": self.chunk_size / 1024.0 }
17:23:36   File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 703, in execute
17:23:36     l.execute(storage, ksdata, instClass)[1;24r[H[20;42H[1;23r[H[21;1H  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1784, in doKickstartStorage
17:23:36     ksdata.logvol.execute(storage, ksdata, instClass)
17:23:36   File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 349, in execute
17:23:36     doKickstartStorage(self.storage, self.data, self.instclass)
17:23:36   File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 53, in setup
17:23:36     spoke.execute()
17:23:36   File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 169, in setup
17:23:36     obj.setup(self.ENVIRONMENT)
17:23:36   File "/sbin/anaconda", line 1134, in <module>
17:23:36     anaconda._intf.setup(ksdata)
17:23:36 TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17:23:36 
17:23:36 What do you want to do now?
17:23:36 1) Report Bug
17:23:36 2) Debug
17:23:36 3) Quit
17:23:36 

Version-Release number of selected component (if applicable):
anaconda 19.31.79-1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
I am not seeing this on Fedora

Comment 1 Fabian Deutsch 2015-02-24 20:03:08 UTC
This is not appearing in the RHEL 7 installer, looks like the upstream images are outdated.