Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1314301

Summary: Anaconda fails on "Full disk summary and boot loader" dialog with Russian language (blivet)
Product: Red Hat Enterprise Linux 7 Reporter: Vit Ry <Frodox>
Component: python-blivetAssignee: David Shea <dshea>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: dshea, Frodox, jstodola, mkovarik, mlessard
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-0.61.15.39-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:52:43 UTC Type: Bug
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
full log none

Description Vit Ry 2016-03-03 11:18:46 UTC
Created attachment 1132727 [details]
full log

Description of problem:

Anaconda fails after clicking "Full disk summary and boot loader... on "Instalaltion destination" spoke.


Version-Release number of selected component (if applicable):

anaconda-21.48.22.56-1
python-blivet-0.61.15.37-1


How reproducible:
always

Steps to Reproduce:
1. Starts anaconda
2. Select Russian language
3. Go to "INSTALLATION DESTINATION" spoke
4. Click "Full disk summary and boot loader" in left bottom

Actual results:
Unhandled exception handler appears with msg:

anaconda 21.48.22.56-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 175, in _parseSpec
    raise ValueError("invalid size specification", spec)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 204, in __new__
    size = _parseSpec(value)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 128, in _update_summary
    size += Size(row[SIZE_COL])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 68, in initialize
    self._update_summary()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 107, in refresh
    self.initialize(disks, free, showRemove=showRemove, setBoot=setBoot)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 708, in on_summary_clicked
    free_space)
ValueError: ('invalid size specification', '10 \xd0\x93\xd0\xb8\xd0\x91')


Expected results:
Full disk summary and boot loader dialog appears.


Additional info:

Looks like anaconda calls blivet's Size() function with translated size ("10 гиб"), while blivet checks for ascii-encondig and handle only en-names size (Gib/Kib and so on).

Comment 2 Vit Ry 2016-03-04 21:33:29 UTC
Anaconda also fails with kz-language. Looks like just few languages have translation of "GiB" and it appears somewhere between anaconda ~ blivet (and last one handle just latin MiB/GiB names).

Comment 4 David Shea 2016-05-10 20:07:54 UTC
*** Bug 1334919 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2016-11-03 23:52:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2168.html