Bug 1004718 - TypeError: unsupported operand type(s) for +: 'long' and 'NoneType'
Summary: TypeError: unsupported operand type(s) for +: 'long' and 'NoneType'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3261f9ac6dd9a246e837f04bffd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 10:49 UTC by Luya Tshimbalanga
Modified: 2013-09-26 06:19 UTC (History)
10 users (show)

Fixed In Version: python-blivet-0.22-1.fc20
Clone Of:
Environment:
Last Closed: 2013-09-26 06:19:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (258.98 KB, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: anaconda.log (8.90 KB, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: environ (451 bytes, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: lsblk_output (1.90 KB, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: nmcli_dev_list (480 bytes, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: os_info (281 bytes, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: program.log (17.35 KB, text/plain)
2013-09-05 10:49 UTC, Luya Tshimbalanga
no flags Details
File: storage.log (91.41 KB, text/plain)
2013-09-05 10:50 UTC, Luya Tshimbalanga
no flags Details
File: ifcfg.log (567 bytes, text/plain)
2013-09-05 10:50 UTC, Luya Tshimbalanga
no flags Details

Description Luya Tshimbalanga 2013-09-05 10:49:26 UTC
Description of problem:
Selecting LVM Thin Provision during selection of Hard Drive within Gnome Boxes.

Version-Release number of selected component:
anaconda-20.9-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2615, in vgSpaceUsed
    + self.logSize + self.metaDataSize)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2847, in vgSpaceUsed
    space = super(LVMThinPoolDevice, self).vgSpaceUsed
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2409, in <genexpr>
    used = sum(lv.vgSpaceUsed for lv in self.lvs) + self.snapshotSpace
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2409, in freeSpace
    used = sum(lv.vgSpaceUsed for lv in self.lvs) + self.snapshotSpace
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2296, in _addLogVol
    lv.size > self.freeSpace:
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2564, in __init__
    self.parents[0]._addLogVol(self)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1144, in newLV
    return device_class(name, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 282, in _scheduleVolumes
    dev = new_volume(**kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 321, in doAutoPartition
    _scheduleVolumes(storage, devs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 244, in execute
    doAutoPartition(storage, ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1677, in doKickstartStorage
    ksdata.autopart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 419, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: unsupported operand type(s) for +: 'long' and 'NoneType'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-20-Nightly-x86_64-Live-de rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-0.rc7.git0.1.fc20.x86_64
other involved packages: python-libs-2.7.5-5.fc20.x86_64, python-blivet-0.20-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Null)
type:           anaconda
version:        20

Comment 1 Luya Tshimbalanga 2013-09-05 10:49:34 UTC
Created attachment 794163 [details]
File: anaconda-tb

Comment 2 Luya Tshimbalanga 2013-09-05 10:49:39 UTC
Created attachment 794164 [details]
File: anaconda.log

Comment 3 Luya Tshimbalanga 2013-09-05 10:49:42 UTC
Created attachment 794166 [details]
File: environ

Comment 4 Luya Tshimbalanga 2013-09-05 10:49:46 UTC
Created attachment 794167 [details]
File: lsblk_output

Comment 5 Luya Tshimbalanga 2013-09-05 10:49:50 UTC
Created attachment 794168 [details]
File: nmcli_dev_list

Comment 6 Luya Tshimbalanga 2013-09-05 10:49:54 UTC
Created attachment 794169 [details]
File: os_info

Comment 7 Luya Tshimbalanga 2013-09-05 10:49:58 UTC
Created attachment 794171 [details]
File: program.log

Comment 8 Luya Tshimbalanga 2013-09-05 10:50:02 UTC
Created attachment 794173 [details]
File: storage.log

Comment 9 Luya Tshimbalanga 2013-09-05 10:50:06 UTC
Created attachment 794175 [details]
File: ifcfg.log

Comment 10 Stephen Gallagher 2013-09-05 17:16:43 UTC
I pointed virt-manager at the F20 Alpha TC4 HTTP path. It booted into Anaconda. I selected "LVM Thin Partitioning" and left it to figure the details out by itself. Then it crashed with the attached backtrace.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   method=http://dl.fedoraproject.org/pub/alt/stage/20-Alpha-TC4/Fedora/x86_64/os/
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
package:        anaconda-20.10-1
product:        Fedora
reason:         TypeError: unsupported operand type(s) for +: 'long' and 'NoneType'
release:        Cannot get release name.
version:        20-Alpha-TC4

Comment 11 Fedora Update System 2013-09-06 21:48:07 UTC
python-blivet-0.22-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-blivet-0.22-1.fc20

Comment 12 Fedora Update System 2013-09-07 17:04:20 UTC
Package python-blivet-0.22-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.22-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16042/python-blivet-0.22-1.fc20
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2013-09-26 06:19:40 UTC
python-blivet-0.22-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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