Bug 862742

Summary: TypeError: coercing to Unicode: need string or buffer, NoneType found
Product: [Fedora] Fedora Reporter: Jan Sedlák <jsedlak>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, bugzilla, g.kaviyarasu, hrafn, jonathan, robatino, rtguille, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2d438b21921800123d092aa9b08e54f6a8dec846e5aca84d838d121dab97395c AcceptedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 21:25:02 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: 752660, 849707    
Attachments:
Description Flags
File: ifcfg.log
none
File: anaconda-tb
none
File: environ
none
File: type
none
File: storage.log
none
File: version
none
File: program.log
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages
none
File: other involved packages none

Description Jan Sedlák 2012-10-03 12:45:56 UTC
Version-Release number of selected component:
anaconda-18.11-1.fc18.x86_64

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.0-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.11 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/posixpath.py", line 133, in islink
:    st = os.lstat(path)
:  File "/usr/lib64/python2.7/posixpath.py", line 182, in ismount
:    if islink(path):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/btrfs.py", line 105, in list_subvolumes
:    if not os.path.ismount(mountpoint):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 4034, in listSubVolumes
:    subvols = btrfs.list_subvolumes(self.format._mountpoint)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1537, in handleBTRFSFormat
:    for subvol_dict in btrfs_dev.listSubVolumes():
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1664, in handleUdevDeviceFormat
:    self.handleBTRFSFormat(info, device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1089, in addUdevDevice
:    self.handleUdevDeviceFormat(info, device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1898, in _populate
:    self.addUdevDevice(dev)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1843, in populate
:    self._populate()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 466, in reset
:    self.devicetree.populate(cleanupOnly=cleanupOnly)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 96, in storageInitialize
:    storage.reset()
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 87, in run
:    threading.Thread.run(self, *args, **kwargs)
:TypeError: coercing to Unicode: need string or buffer, NoneType found

Comment 1 Jan Sedlák 2012-10-03 12:45:59 UTC
Created attachment 620827 [details]
File: ifcfg.log

Comment 2 Jan Sedlák 2012-10-03 12:46:01 UTC
Created attachment 620828 [details]
File: anaconda-tb

Comment 3 Jan Sedlák 2012-10-03 12:46:03 UTC
Created attachment 620829 [details]
File: environ

Comment 4 Jan Sedlák 2012-10-03 12:46:05 UTC
Created attachment 620830 [details]
File: type

Comment 5 Jan Sedlák 2012-10-03 12:46:08 UTC
Created attachment 620831 [details]
File: storage.log

Comment 6 Jan Sedlák 2012-10-03 12:46:10 UTC
Created attachment 620832 [details]
File: version

Comment 7 Jan Sedlák 2012-10-03 12:46:12 UTC
Created attachment 620833 [details]
File: program.log

Comment 8 Jan Sedlák 2012-10-03 12:46:14 UTC
Created attachment 620834 [details]
File: product

Comment 9 Jan Sedlák 2012-10-03 12:46:16 UTC
Created attachment 620835 [details]
File: anaconda.log

Comment 10 Jan Sedlák 2012-10-03 12:46:18 UTC
Created attachment 620836 [details]
File: hashmarkername

Comment 11 Jan Sedlák 2012-10-03 12:46:20 UTC
Created attachment 620837 [details]
File: cmdline_file

Comment 12 Jan Sedlák 2012-10-03 12:46:22 UTC
Created attachment 620838 [details]
File: release

Comment 13 Jan Sedlák 2012-10-03 12:46:25 UTC
Created attachment 620839 [details]
File: messages

Comment 14 Jan Sedlák 2012-10-03 12:46:27 UTC
Created attachment 620840 [details]
File: other involved packages

Comment 15 Jan Sedlák 2012-10-03 12:47:21 UTC
*** Bug 862741 has been marked as a duplicate of this bug. ***

Comment 16 Jan Sedlák 2012-10-03 12:48:05 UTC
See bug 862741 for additional info.

Comment 17 Jan Sedlák 2012-10-03 18:35:49 UTC
Proposing as beta blockerbug per alfa criterion: "The installer must boot (if appropriate) and run on all primary architectures, with all system firmware types that are common on those architectures, from default live image, DVD, and boot.iso install media when written to an optical disc and when written to a USB stick with at least one of the officially supported methods"

Comment 18 Jesse Keating 2012-10-03 22:06:22 UTC
*** Bug 862883 has been marked as a duplicate of this bug. ***

Comment 19 Adam Williamson 2012-10-04 18:14:26 UTC
Discussed at 2012-10-04 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-04/f18-beta-blocker-review-2.1.2012-10-04-16.00.log.txt . 

The description from 862741: "I have installed Fedora 18 Beta using TC1 Desktop install on btrfs root partition. When I have rebooted into live DVD again, anaconda crashed. See attached log."

So basically, install to btrfs, then run the installer again, it'll barf trying to evaluate the existing install.

Accepted as a blocker per Alpha criterion "The installer must be able to complete an installation using automatic partitioning to any sufficiently large target disk, whether unformatted, empty, or containing any kind of existing data".

Comment 20 Fedora Update System 2012-10-05 20:55:15 UTC
anaconda-18.13-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.13-1.fc18

Comment 21 Alexander Ivanov 2012-10-08 17:23:31 UTC
1. Start "Install to Hard Drive" from Live CD

Package: anaconda-18.12-1.fc18.x86_64
OS Release: Fedora release 18 (Spherical Cow)

Comment 22 Fedora Update System 2012-10-09 00:21:26 UTC
anaconda-18.14-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.14-1.fc18

Comment 23 Fedora Update System 2012-10-09 17:20:59 UTC
Package anaconda-18.14-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.14-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15707/anaconda-18.14-1.fc18
then log in and leave karma (feedback).

Comment 24 Adam Williamson 2012-10-10 04:06:00 UTC
This should be fixed with Beta TC3 - https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC3/ . Can you please test and let us know? Thanks!

Comment 25 Chris Murphy 2012-10-10 04:45:02 UTC
Appears fixed in netinstall tc3 (anaconda-18.14-1.fc18)

Comment 26 Jan Sedlák 2012-10-10 14:09:04 UTC
Yep, this error is fixed, but I popped into bug 864721.

Comment 27 Adam Williamson 2012-10-10 23:54:29 UTC
Let's mark as VERIFIED then, thanks for testing.

Comment 28 Adam Williamson 2012-10-18 21:25:02 UTC
18.14 went stable, so closing.