Bug 1195857 - [centos7] Missing chunksize with thinp volumes leads to stacktrace
Summary: [centos7] Missing chunksize with thinp volumes leads to stacktrace
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ovirt-node-ng
TreeView+ depends on / blocked
 
Reported: 2015-02-24 17:32 UTC by Fabian Deutsch
Modified: 2015-02-24 20:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-24 20:03:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.