Bug 876547

Summary: ValueError: ('invalid size specification', '-472.028417969 mb')
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, robatino, satellitgo, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1cc8ca089271e56ad872d1359bb147ee39c7dca11671ac088588ba2e9bbca9b6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-08 04:30:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 752661    
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: executable
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log
none
partitioning dialog none

Description Kamil Páral 2012-11-14 12:19:02 UTC
Description of problem:
This happened when I copied DVD.iso to a local partition and pxe-booted the installer with inst.repo=hd:vda1:/dvd.iso. The crash occured after clicking Reclaim Space button in the initial "you don't have enough free space" dialog.

Version-Release number of selected component:
anaconda-18.28

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.6-3.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.28 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/size.py", line 79, in _parseSpec
:    raise ValueError("invalid size specification", spec)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/size.py", line 137, in __new__
:    self = Decimal.__new__(cls, value=_parseSpec(spec))
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 55, in size_str
:    return str(Size(spec=spec)).upper()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 151, in populate
:    _("%s of %s") % (size_str(freeSize), size_str(dev.size)),
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 197, in refresh
:    self.populate(disks)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 739, in on_continue_clicked
:    resizeDialog.refresh(disks)
:ValueError: ('invalid size specification', '-472.028417969 mb')

Comment 1 Kamil Páral 2012-11-14 12:19:06 UTC
Created attachment 644780 [details]
File: anaconda-tb

Comment 2 Kamil Páral 2012-11-14 12:19:09 UTC
Created attachment 644781 [details]
File: product

Comment 3 Kamil Páral 2012-11-14 12:19:12 UTC
Created attachment 644782 [details]
File: type

Comment 4 Kamil Páral 2012-11-14 12:19:15 UTC
Created attachment 644783 [details]
File: ifcfg.log

Comment 5 Kamil Páral 2012-11-14 12:19:18 UTC
Created attachment 644784 [details]
File: storage.log

Comment 6 Kamil Páral 2012-11-14 12:19:21 UTC
Created attachment 644785 [details]
File: version

Comment 7 Kamil Páral 2012-11-14 12:19:23 UTC
Created attachment 644786 [details]
File: environ

Comment 8 Kamil Páral 2012-11-14 12:19:26 UTC
Created attachment 644787 [details]
File: executable

Comment 9 Kamil Páral 2012-11-14 12:19:28 UTC
Created attachment 644788 [details]
File: anaconda.log

Comment 10 Kamil Páral 2012-11-14 12:19:30 UTC
Created attachment 644789 [details]
File: syslog

Comment 11 Kamil Páral 2012-11-14 12:19:32 UTC
Created attachment 644790 [details]
File: hashmarkername

Comment 12 Kamil Páral 2012-11-14 12:19:34 UTC
Created attachment 644791 [details]
File: packaging.log

Comment 13 Kamil Páral 2012-11-14 12:19:37 UTC
Created attachment 644792 [details]
File: cmdline_file

Comment 14 Kamil Páral 2012-11-14 12:19:39 UTC
Created attachment 644793 [details]
File: release

Comment 15 Kamil Páral 2012-11-14 12:19:42 UTC
Created attachment 644794 [details]
File: program.log

Comment 16 Kamil Páral 2012-11-14 12:20:32 UTC
This seems to be a blocker:
 The installer must be able to use all supported local and remote package source options 
https://fedoraproject.org/wiki/Fedora_18_Final_Release_Criteria

Relevant test case:
https://fedoraproject.org/wiki/QA:Testcase_install_repository_Hard_drive_variation

Comment 17 Kamil Páral 2012-11-14 18:23:14 UTC
I've just hit that again and this time I wasn't doing any inst.repo=hd: magic. Therefore it is probably more related to the actual disk contents.

Comment 18 Kamil Páral 2012-11-15 09:16:18 UTC
Created attachment 645518 [details]
partitioning dialog

This is a related screenshot of the partitioning screen. Note how wrong it is, it says I have enough space and that I don't have enough space. After I click Reclaim Space, it crashes with the error above.

Comment 19 Kamil Páral 2012-11-23 12:48:32 UTC
Hit Reclaim Space.

Package: anaconda-18.29.2
Architecture: i686
OS Release: Fedora release 18-Beta

Comment 20 Adam Williamson 2012-11-29 18:59:40 UTC
Discussed at 2012-11-29 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-11-29/f18final-blocker-review-1.1.2012-11-29-17.01.log.txt . We don't yet have enough information on what's required to trigger this or enough people reproducing it to call it a blocker, but it's clearly a bad bug, so we are punting on it in the hopes that more information will show up.

Comment 21 Fedora Update System 2012-12-06 01:55:13 UTC
anaconda-18.36-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.36-1.fc18

Comment 22 Fedora Update System 2012-12-06 20:17:45 UTC
Package anaconda-18.36-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.36-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19870/anaconda-18.36-1.fc18
then log in and leave karma (feedback).

Comment 23 Kamil Páral 2012-12-07 10:24:33 UTC
I have repeated the procedure mentioned in the description, all is OK. But as comment 17 says, this was probably related to disk contents rather than install method, and I don't know how to verify that.

Anaconda devs, if you know some reproducer, I can try to re-verify, otherwise we just have to believe it works now.

Comment 24 Fedora Update System 2012-12-08 04:30:32 UTC
anaconda-18.36-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.