Bug 1060031

Summary: TypeError: %d format: a number is required, not str
Product: [Fedora] Fedora Reporter: Piruthiviraj Natarajan <piruthiviraj>
Component: python-blivetAssignee: David Shea <dshea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amulhern, anaconda-maint-list, bcl, dlehman, dshea, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:32e76328afb98f4bc852e87c39baeeb7ccf18747cd24638c8b097c8e3925ae56
Fixed In Version: python-blivet-0.40-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-12 15:49:14 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log
none
File: packaging.log none

Description Piruthiviraj Natarajan 2014-01-31 09:48:13 UTC
Description of problem:
I tried the latest rawhide compose xfce live 64 bit CD which had  anaconda-21.19-1.fc21.x86_64 version and it crashed with errors.

Version-Release number of selected component:
anaconda-core-21.19-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.19-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 1387, in _getMinSize
    minSize = Size(spec="%d mb" % l.split(":")[1].strip())
  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 222, in updateSizeInfo
    self._getMinSize(info=info)   # force calculation of minimum size
  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 117, in __init__
    self.updateSizeInfo()
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 82, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1797, in handleUdevDeviceFormat
    device.format = formats.getFormat(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1154, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2080, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2021, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 426, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 145, in storageInitialize
    storage.reset()
  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 226, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: %d format: a number is required, not str

Additional info:
cmdline:        /usr/bin/python  /usr/sbin/anaconda
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Xfce-x86_64-rawhide- rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /usr/sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-0.rc0.git13.1.fc21.x86_64
other involved packages: python-libs-2.7.5-11.fc21.x86_64, python-blivet-0.39-1.fc21.noarch
product:        Fedora
release:        Fedora release 21 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 Piruthiviraj Natarajan 2014-01-31 09:48:42 UTC
Created attachment 857762 [details]
File: anaconda-tb

Comment 2 Piruthiviraj Natarajan 2014-01-31 09:48:45 UTC
Created attachment 857763 [details]
File: anaconda.log

Comment 3 Piruthiviraj Natarajan 2014-01-31 09:48:48 UTC
Created attachment 857764 [details]
File: environ

Comment 4 Piruthiviraj Natarajan 2014-01-31 09:48:58 UTC
Created attachment 857765 [details]
File: journalctl

Comment 5 Piruthiviraj Natarajan 2014-01-31 09:49:01 UTC
Created attachment 857766 [details]
File: lsblk_output

Comment 6 Piruthiviraj Natarajan 2014-01-31 09:49:03 UTC
Created attachment 857767 [details]
File: nmcli_dev_list

Comment 7 Piruthiviraj Natarajan 2014-01-31 09:49:05 UTC
Created attachment 857768 [details]
File: os_info

Comment 8 Piruthiviraj Natarajan 2014-01-31 09:49:08 UTC
Created attachment 857769 [details]
File: program.log

Comment 9 Piruthiviraj Natarajan 2014-01-31 09:49:13 UTC
Created attachment 857770 [details]
File: storage.log

Comment 10 Piruthiviraj Natarajan 2014-01-31 09:49:15 UTC
Created attachment 857771 [details]
File: ifcfg.log

Comment 11 Piruthiviraj Natarajan 2014-01-31 09:49:18 UTC
Created attachment 857772 [details]
File: packaging.log