Bug 1004903

Summary: ValueError: ('invalid size specification', 'MB')
Product: [Fedora] Fedora Reporter: Martin <mholec>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, junk, lbrabec, mkolman, oklag, orti1980, rlerch, rtguille, sbueno, tpelka, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c8d5812822970b5edcd6be2f92d6d8b2994081ac96b59b9805f55821e5cc8c67
Fixed In Version: anaconda-20.17-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 02:38: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:
Attachments:
Description Flags
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: anaconda-tb
none
anaconda-tb-* none

Description Martin 2013-09-05 17:34:41 UTC
Version-Release number of selected component:
anaconda-20.10-1

The following was filed automatically by anaconda:
anaconda 20.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 156, in size_from_entry
    size = Size(spec=size_text)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 282, in on_add_confirm_clicked
    self.size = size_from_entry(self.builder.get_object("addSizeEntry"))
ValueError: ('invalid size specification', 'MB')

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   inst.repo=nfs:nfs.englab.brq.redhat.com:/pub/fedora/fedora-alt/stage/20-Alpha-TC4/Fedora/x86_64/iso/Fedora-20-Alpha-TC4-x86_64-DVD.iso initrd=F20/Alpha-TC4/x86_64/initrd.img BOOT_IMAGE=F20/Alpha-TC4/x86_64/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Alpha-TC4

Comment 1 Martin 2013-09-05 17:34:48 UTC
Created attachment 794391 [details]
File: anaconda.log

Comment 2 Martin 2013-09-05 17:34:53 UTC
Created attachment 794392 [details]
File: environ

Comment 3 Martin 2013-09-05 17:34:57 UTC
Created attachment 794393 [details]
File: lsblk_output

Comment 4 Martin 2013-09-05 17:35:02 UTC
Created attachment 794394 [details]
File: nmcli_dev_list

Comment 5 Martin 2013-09-05 17:35:10 UTC
Created attachment 794395 [details]
File: os_info

Comment 6 Martin 2013-09-05 17:35:15 UTC
Created attachment 794396 [details]
File: program.log

Comment 7 Martin 2013-09-05 17:35:22 UTC
Created attachment 794397 [details]
File: storage.log

Comment 8 Martin 2013-09-05 17:35:30 UTC
Created attachment 794398 [details]
File: syslog

Comment 9 Martin 2013-09-05 17:35:34 UTC
Created attachment 794399 [details]
File: ifcfg.log

Comment 10 Martin 2013-09-05 17:35:40 UTC
Created attachment 794400 [details]
File: packaging.log

Comment 11 Martin 2013-09-05 17:35:49 UTC
Created attachment 794401 [details]
File: anaconda-tb

Comment 12 David Shea 2013-09-05 18:44:59 UTC
*** Bug 1004925 has been marked as a duplicate of this bug. ***

Comment 13 Reartes Guillermo 2013-09-07 18:28:04 UTC
wen to custom partitioning, deletet all exept /boot (because i requiered 300mb more for kde and / was too small --swap was too big--).

after deleting, i recreated swap (smaller) 512mb. then created / without a size, anaconda crashed.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha-TC4\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
package:        anaconda-20.10-1
product:        Fedora
reason:         ValueError: ('invalid size specification', 'MB')
release:        Cannot get release name.
version:        20-Alpha-TC4

Comment 14 Reartes Guillermo 2013-09-07 18:32:37 UTC
Created attachment 795173 [details]
anaconda-tb-*

Comment 15 L.L.Robinson 2013-09-07 20:04:03 UTC
Tried to set a partition size to no value and update settings, Previously this would set the size to the maximum available

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha-TC4\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
package:        anaconda-20.10-1
product:        Fedora
reason:         ValueError: ('invalid size specification', 'MB')
release:        Cannot get release name.
version:        20-Alpha-TC4

Comment 16 Lukas Brabec 2013-09-13 08:00:21 UTC
Just trying disc partitioning (/boot ext2, / lvm ext4, /home), error occured after /home mount point addition with no size set.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.11.0-300.fc20.x86_64
package:        anaconda-20.15-1
product:        Fedora
reason:         ValueError: ('invalid size specification', 'MB')
release:        Cannot get release name.
version:        20-Alpha

Comment 17 Ferdinand Galko 2013-09-13 18:03:53 UTC
Anaconda in VMware Player 6 virtual machine, netinstall iso

Installation options 
1. Option: I want to review/modify my disk partitions before continuing
2. Partition scheme: Standard Partition
3. Add a new mountpoint
    Mount point: /
    Desired Capacity: 9g
4. Add a new mountpoint
    Mount point: swap
    Desired Capacity: 1g
5. Add a new mountpoint
    Mount point: /home
    Desired Capacity: "I left this option empty, because I wanted use rest of 20GB disk"
6. There occured an error after using <Add mount point> button.

Note:
This way of partitionig is working in Anaconda in Fedora 19.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.11.0-300.fc20.x86_64
package:        anaconda-20.15-1
product:        Fedora
reason:         ValueError: ('invalid size specification', 'MB')
release:        Cannot get release name.
version:        20-Alpha

Comment 18 Fedora Update System 2013-09-16 17:45:50 UTC
anaconda-20.17-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/anaconda-20.17-1.fc20

Comment 19 Fedora Update System 2013-09-19 02:38:17 UTC
anaconda-20.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 David Shea 2013-09-23 13:40:18 UTC
*** Bug 1010494 has been marked as a duplicate of this bug. ***