Bug 1151129

Summary: TypeError: sequence item 3: expected string, int found
Product: [Fedora] Fedora Reporter: Gustavo Luiz Duarte <gustavold>
Component: python-blivetAssignee: mulhern <amulhern>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: amulhern, bcl, dlehman, g.kaviyarasu, gustavold, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard: abrt_hash:2530837fb6bf55032db4cd1a32023f3af3511a6e573919e1743d89287b20e5cc
Fixed In Version: anaconda-21.48.10-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-20 23:02:13 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:
Bug Depends On:    
Bug Blocks: 1140359    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Gustavo Luiz Duarte 2014-10-09 16:03:49 UTC
Description of problem:
Install Fedora 21 Alpha RC1 ppc64le on baremetal P8 using a local disk. Select reclaim space, delete all existing partitions and proceed with automatic partitioning.

Version-Release number of selected component:
anaconda-21.48.8-1

The following was filed automatically by anaconda:
anaconda 21.48.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 35, in _run_program
    program_log.info("Running... %s", " ".join(argv))
  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 65, in run_program
    return _run_program(*args, **kwargs)[0]
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/btrfs.py", line 48, in btrfs
    ret = exec_func(argv)
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/btrfs.py", line 159, in set_default_subvolume
    return btrfs(args)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 5314, in _setDefaultSubVolumeID
    btrfs.set_default_subvolume(self.originalFormat._mountpoint, vol_id)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 5486, in _destroy
    self.volume._setDefaultSubVolumeID(self.volume.vol_id)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 946, in destroy
    self._destroy()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 342, in execute
    self.device.destroy()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 354, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 214, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 178, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: sequence item 3: expected string, int found

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   ip=9.3.189.33::9.3.189.1:255.255.255.0:p8euh1:bootdev:none ifname=bootdev:00:90:fa:0d:36:c8 nameserver=9.0.6.11 repo=http://chukar.rch.stglabs.ibm.com/gustavold/f21le/ vnc
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.0-300.fc21.ppc64le
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Gustavo Luiz Duarte 2014-10-09 16:03:53 UTC
Created attachment 945382 [details]
File: anaconda-tb

Comment 2 Gustavo Luiz Duarte 2014-10-09 16:03:54 UTC
Created attachment 945383 [details]
File: anaconda.log

Comment 3 Gustavo Luiz Duarte 2014-10-09 16:03:55 UTC
Created attachment 945384 [details]
File: environ

Comment 4 Gustavo Luiz Duarte 2014-10-09 16:03:56 UTC
Created attachment 945385 [details]
File: lsblk_output

Comment 5 Gustavo Luiz Duarte 2014-10-09 16:03:57 UTC
Created attachment 945386 [details]
File: nmcli_dev_list

Comment 6 Gustavo Luiz Duarte 2014-10-09 16:03:58 UTC
Created attachment 945387 [details]
File: os_info

Comment 7 Gustavo Luiz Duarte 2014-10-09 16:03:59 UTC
Created attachment 945388 [details]
File: program.log

Comment 8 Gustavo Luiz Duarte 2014-10-09 16:04:01 UTC
Created attachment 945389 [details]
File: storage.log

Comment 9 Gustavo Luiz Duarte 2014-10-09 16:04:02 UTC
Created attachment 945390 [details]
File: syslog

Comment 10 Gustavo Luiz Duarte 2014-10-09 16:04:04 UTC
Created attachment 945391 [details]
File: ifcfg.log

Comment 11 Gustavo Luiz Duarte 2014-10-09 16:04:05 UTC
Created attachment 945392 [details]
File: packaging.log

Comment 12 mulhern 2014-10-09 18:10:27 UTC
Just a missing conversion, vol_id is an int...needs to be converted to string before it reaches run_program().

Comment 13 Gustavo Luiz Duarte 2014-10-09 20:26:32 UTC
mulhern gently provided an updates image containing a fix for this issue:
http://mulhern.fedorapeople.org/1151129.img

I will test that ASAP.

Comment 14 Gustavo Luiz Duarte 2014-10-09 21:02:55 UTC
Thanks mulhern! The updates image did help!
Could you please start an f21 Anaconda build containing that fix so we can unblock F21 Alpha on PPC?

Comment 15 Fedora Update System 2014-10-15 13:15:49 UTC
anaconda-21.48.10-1.fc21, pykickstart-1.99.63-2.fc21, python-blivet-0.61.5-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pykickstart-1.99.63-2.fc21,python-blivet-0.61.5-1.fc21,anaconda-21.48.10-1.fc21

Comment 16 Fedora Update System 2014-10-16 17:18:48 UTC
Package anaconda-21.48.10-1.fc21, pykickstart-1.99.63-2.fc21, python-blivet-0.61.5-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-21.48.10-1.fc21 pykickstart-1.99.63-2.fc21 python-blivet-0.61.5-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12944/pykickstart-1.99.63-2.fc21,python-blivet-0.61.5-1.fc21,anaconda-21.48.10-1.fc21
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2014-10-20 23:02:13 UTC
anaconda-21.48.10-1.fc21, pykickstart-1.99.63-2.fc21, python-blivet-0.61.5-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.