Bug 973384

Summary: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Alexey Torkhov <atorkhov>
Component: python-blivetAssignee: tolarewa
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: awilliam, bcl, dlehman, dshea, g.kaviyarasu, jonathan, kparal, mkolman, nobody, pnemade, robatino, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2b310f1b50361715e1954a1112e5af712e0601c9541e4f95d15b8aac4c9df40d AcceptedBlocker
Fixed In Version: pyparted-3.9-3.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-26 04:28:17 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: 834090    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: backtrace
none
File: environ
none
File: ifcfg.log
none
File: lsblk_output
none
File: messages
none
File: nmcli_dev_list
none
File: program.log
none
File: storage.log none

Description Alexey Torkhov 2013-06-11 19:59:09 UTC
Description of problem:
Tried install F19 with custom partitioning.
The following was filed automatically by anaconda:
anaconda 19.30-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 451, in execute
    msg = _("Creating %(type)s on %(device)s") % {"type": self.device.format.type, "device": self.device.path}
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 306, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 165, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 138, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  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)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Version-Release number of selected component:
anaconda-19.30-1.fc19.x86_64

Additional info:
reporter:       libreport-2.1.4
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:UUID=c91d471e-7d4b-444f-8f66-a8904f1ada07 rootfstype=ext4 rw rd.live.image overlay=UUID=c91d471e-7d4b-444f-8f66-a8904f1ada07 quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
core_backtrace: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.4-301.fc19.x86_64
other involved packages: python-libs-2.7.5-1.fc19.x86_64, python-blivet-0.14-1.fc19.noarch
packaging.log:  
product:        Fedora
release:        Fedora release 19 (Schrödinger’s Cat)
type:           anaconda
version:        19

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  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/install.py", line 138, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 165, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 306, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 451, in execute
    msg = _("Creating %(type)s on %(device)s") % {"type": self.device.format.type, "device": self.device.path}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Comment 1 Alexey Torkhov 2013-06-11 19:59:17 UTC
Created attachment 759806 [details]
File: anaconda-tb

Comment 2 Alexey Torkhov 2013-06-11 19:59:22 UTC
Created attachment 759807 [details]
File: anaconda.log

Comment 3 Alexey Torkhov 2013-06-11 19:59:26 UTC
Created attachment 759808 [details]
File: backtrace

Comment 4 Alexey Torkhov 2013-06-11 19:59:32 UTC
Created attachment 759809 [details]
File: environ

Comment 5 Alexey Torkhov 2013-06-11 19:59:36 UTC
Created attachment 759810 [details]
File: ifcfg.log

Comment 6 Alexey Torkhov 2013-06-11 19:59:40 UTC
Created attachment 759811 [details]
File: lsblk_output

Comment 7 Alexey Torkhov 2013-06-11 19:59:45 UTC
Created attachment 759812 [details]
File: messages

Comment 8 Alexey Torkhov 2013-06-11 19:59:49 UTC
Created attachment 759813 [details]
File: nmcli_dev_list

Comment 9 Alexey Torkhov 2013-06-11 19:59:54 UTC
Created attachment 759814 [details]
File: program.log

Comment 10 Alexey Torkhov 2013-06-11 20:00:00 UTC
Created attachment 759815 [details]
File: storage.log

Comment 11 Alexey Torkhov 2013-06-11 20:01:59 UTC
Description of problem:
Tried install F19 with custom partitioning.

Version-Release number of selected component:
anaconda-19.30-1.fc19.x86_64

Additional info:
reporter:       libreport-2.1.4
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:UUID=c91d471e-7d4b-444f-8f66-a8904f1ada07 rootfstype=ext4 rw rd.live.image overlay=UUID=c91d471e-7d4b-444f-8f66-a8904f1ada07 quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
core_backtrace: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.4-301.fc19.x86_64
other involved packages: python-libs-2.7.5-1.fc19.x86_64, python-blivet-0.14-1.fc19.noarch
packaging.log:  
product:        Fedora
release:        Fedora release 19 (Schrödinger’s Cat)
type:           anaconda
version:        19

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  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/install.py", line 138, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 165, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 306, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 451, in execute
    msg = _("Creating %(type)s on %(device)s") % {"type": self.device.format.type, "device": self.device.path}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Comment 12 Adam Williamson 2013-06-24 16:42:53 UTC
*** Bug 976576 has been marked as a duplicate of this bug. ***

Comment 13 Adam Williamson 2013-06-24 16:43:29 UTC
*** Bug 976630 has been marked as a duplicate of this bug. ***

Comment 14 Adam Williamson 2013-06-24 16:54:46 UTC
Proposing as a final blocker: this affects a fresh install with a blank disk in auto-detected Czech, apparently. kparal will add a more detailed comment soon.

Comment 15 Kamil Páral 2013-06-24 17:04:13 UTC
I can reproduce this reliably with F19 TC6 Live (not DVD!) x86_64. You just need to run the installer, pick Czech as a language and let the installer auto-create the layout (I used a completely new, blank, freshly created disk in a VM). Anaconda crashes during device creation.

Comment 16 Adam Williamson 2013-06-24 17:23:30 UTC
Discussed at 2013-06-24 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-06-24/f19final-blocker-review-8.2013-06-24-16.00.log.txt . Accepted as a blocker per criterion "The installer must be able to create and install to any workable partition layout using any file system offered in a default installer configuration, LVM, software, hardware or BIOS RAID, or combination of the above" (in the case of apparently several non-English languages).

Comment 17 Adam Williamson 2013-06-24 20:07:31 UTC
For the record I can re-create this as described by Kamil in c#15.

We have a fix for this and 973019 currently in the works and a live image will shortly be available for testing; I'm going to check if it fixes it for me.

Comment 18 Adam Williamson 2013-06-24 20:10:19 UTC
http://adamwill.fedorapeople.org/20130624-desktop-x86_64.iso ought to fix this (we hope). It seems to for me: I can reproduce the bug as described in c#15 with TC6, I can no longer reproduce it following the same procedure with this image. Please, if as many people as possible can confirm, that'd be great.

Comment 19 Fedora Update System 2013-06-24 20:10:51 UTC
pyparted-3.9-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pyparted-3.9-3.fc19

Comment 20 Kamil Páral 2013-06-25 05:38:20 UTC
Verified fixed with RC1.

Comment 21 Fedora Update System 2013-06-26 04:28:17 UTC
pyparted-3.9-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.