Bug 1256072 - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Summary: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: inval...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:60eb420d798402a560fe0eae953...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-23 20:41 UTC by Andrew Cathrow
Modified: 2015-09-07 16:35 UTC (History)
8 users (show)

Fixed In Version: 1.12.2-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-07 16:35:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (347.22 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: anaconda.log (7.76 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: environ (649 bytes, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: journalctl (275.72 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: lsblk_output (2.87 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: nmcli_dev_list (2.40 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: os_info (518 bytes, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: program.log (18.85 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: storage.log (38.40 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details
File: ifcfg.log (3.83 KB, text/plain)
2015-08-23 20:42 UTC, Andrew Cathrow
no flags Details

Description Andrew Cathrow 2015-08-23 20:41:58 UTC
Description of problem:
Booting USB image of Fedora 23 Alpha and running install program

Version-Release number of selected component:
anaconda-core-23.17-1.fc23.x86_64

The following was filed automatically by anaconda:
anaconda 23.17-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/codecs.py", line 319, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
  File "/usr/lib/python3.4/site-packages/blivet/arch.py", line 227, in isMactel
    buf = open(DMI_CHASSIS_VENDOR).read()
  File "/usr/lib/python3.4/site-packages/blivet/formats/disklabel.py", line 163, in partedDisk
    if arch.isEfi() or arch.isMactel():
  File "/usr/lib/python3.4/site-packages/blivet/formats/disklabel.py", line 121, in updateOrigPartedDisk
    self._origPartedDisk = self.partedDisk.duplicate()
  File "/usr/lib/python3.4/site-packages/blivet/formats/disklabel.py", line 74, in __init__
    self.updateOrigPartedDisk()
  File "/usr/lib/python3.4/site-packages/blivet/formats/__init__.py", line 85, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 804, in handleUdevDiskLabelFormat
    exists=True)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1348, in handleUdevDeviceFormat
    self.handleUdevDiskLabelFormat(info, device)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 761, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1660, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1597, in populate
    self._populate()
  File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 554, in populate
    self._populator.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.4/site-packages/blivet/blivet.py", line 279, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 1123, in storageInitialize
    storage.reset()
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-23_A-2 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc5.git0.2.fc23.x86_64
other involved packages: python3-libs-3.4.3-5.fc23.x86_64, python3-blivet-1.10-1.fc23.noarch
product:        Fedora
release:        Fedora release 23 (Twenty Three)
type:           anaconda
version:        23

Comment 1 Andrew Cathrow 2015-08-23 20:42:00 UTC
Created attachment 1066116 [details]
File: anaconda-tb

Comment 2 Andrew Cathrow 2015-08-23 20:42:01 UTC
Created attachment 1066117 [details]
File: anaconda.log

Comment 3 Andrew Cathrow 2015-08-23 20:42:02 UTC
Created attachment 1066118 [details]
File: environ

Comment 4 Andrew Cathrow 2015-08-23 20:42:03 UTC
Created attachment 1066119 [details]
File: journalctl

Comment 5 Andrew Cathrow 2015-08-23 20:42:04 UTC
Created attachment 1066120 [details]
File: lsblk_output

Comment 6 Andrew Cathrow 2015-08-23 20:42:05 UTC
Created attachment 1066121 [details]
File: nmcli_dev_list

Comment 7 Andrew Cathrow 2015-08-23 20:42:06 UTC
Created attachment 1066122 [details]
File: os_info

Comment 8 Andrew Cathrow 2015-08-23 20:42:07 UTC
Created attachment 1066123 [details]
File: program.log

Comment 9 Andrew Cathrow 2015-08-23 20:42:08 UTC
Created attachment 1066124 [details]
File: storage.log

Comment 10 Andrew Cathrow 2015-08-23 20:42:09 UTC
Created attachment 1066125 [details]
File: ifcfg.log

Comment 11 David Shea 2015-08-24 13:28:50 UTC
Thanks to the python 3 unicode surprises I'm guessing blivet needs to start opening a bunch of things in binary mode.

Comment 12 Andrew Cathrow 2015-08-26 20:52:51 UTC
David, is there any way for me to work around this so I can proceed to test F23 on this platform?
thanks.

Comment 13 Brian Lane 2015-08-26 23:49:04 UTC
Who is the manufacturer of the system and what does the output of this look like:

hexdump -C /sys/class/dmi/id/chassis_vendor

Since this is a value provided by the manufacturer there is no work around other than fixing it or using an updates.img

Comment 14 Brian Lane 2015-08-27 00:46:20 UTC
Also, try this updates.img, add this to the kernel cmdline when booting:

inst.updates=https://bcl.fedorapeople.org/updates/1256072.img

Comment 15 Andrew Cathrow 2015-08-27 01:04:01 UTC
It's an Intel NUC. Model NUC5i3MYBE

Chassis vendor shows:

00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000020  ff 0a                                             |..|
00000022

I'll try the update and report back.

Comment 16 Andrew Cathrow 2015-08-27 01:30:46 UTC
updates image worked, installation just completed successfully.

Comment 17 Fedora Update System 2015-09-03 19:33:38 UTC
python-blivet-1.12.2-1.fc23 anaconda-23.19.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030

Comment 18 Fedora Update System 2015-09-04 07:33:12 UTC
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update anaconda python-blivet'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030

Comment 19 Fedora Update System 2015-09-07 16:35:30 UTC
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 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.