Bug 959714 - ValueError: ('invalid size specification', '-89992.000000 MB')
Summary: ValueError: ('invalid size specification', '-89992.000000 MB')
Keywords:
Status: CLOSED DUPLICATE of bug 965805
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d6e2bbe37d2c150c3bd1fb7e9f2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-05 01:21 UTC by Chris Murphy
Modified: 2013-06-03 16:59 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-03 16:59:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (864.65 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: anaconda.log (85.11 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: backtrace (1.22 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: environ (769 bytes, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: ifcfg.log (490 bytes, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: lsblk_output (2.59 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: messages (178.02 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: nmcli_dev_list (3.38 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: program.log (25.57 KB, text/plain)
2013-05-05 01:21 UTC, Chris Murphy
no flags Details
File: storage.log (801.64 KB, text/plain)
2013-05-05 01:22 UTC, Chris Murphy
no flags Details
scrren-shot creating lv (91.05 KB, image/png)
2013-05-08 19:31 UTC, Reartes Guillermo
no flags Details
scrren-shot creating lv for /boot (90.03 KB, image/png)
2013-05-08 19:35 UTC, Reartes Guillermo
no flags Details

Description Chris Murphy 2013-05-05 01:21:22 UTC
Description of problem:
The following was filed automatically by anaconda:
anaconda 19.24-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/lib/accordion.py", line 61, in selectorFromDevice
    size = Size(spec="%f MB" % device.size)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1027, in _replace_device
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1305, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2322, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2332, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 218, in _onSelectorClicked
    cb(selector)
ValueError: ('invalid size specification', '-89992.000000 MB')

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

Additional info:
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:CDLABEL=Fedora-Live-Desktop-x86_64-19-Be rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
core_backtrace: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-301.fc19.x86_64
other involved packages: python-blivet-0.12-1.fc19.noarch
packaging.log:  
product:        Fedora
release:        Fedora release 19 (Schrödinger’s Cat)
type:           anaconda
ureports_counter: 1
version:        19

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 218, in _onSelectorClicked
    cb(selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2332, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2322, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1305, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1027, in _replace_device
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 61, in selectorFromDevice
    size = Size(spec="%f MB" % device.size)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
ValueError: ('invalid size specification', '-89992.000000 MB')

Comment 1 Chris Murphy 2013-05-05 01:21:34 UTC
Created attachment 743640 [details]
File: anaconda-tb

Comment 2 Chris Murphy 2013-05-05 01:21:39 UTC
Created attachment 743641 [details]
File: anaconda.log

Comment 3 Chris Murphy 2013-05-05 01:21:41 UTC
Created attachment 743642 [details]
File: backtrace

Comment 4 Chris Murphy 2013-05-05 01:21:43 UTC
Created attachment 743643 [details]
File: environ

Comment 5 Chris Murphy 2013-05-05 01:21:44 UTC
Created attachment 743644 [details]
File: ifcfg.log

Comment 6 Chris Murphy 2013-05-05 01:21:47 UTC
Created attachment 743645 [details]
File: lsblk_output

Comment 7 Chris Murphy 2013-05-05 01:21:52 UTC
Created attachment 743646 [details]
File: messages

Comment 8 Chris Murphy 2013-05-05 01:21:54 UTC
Created attachment 743647 [details]
File: nmcli_dev_list

Comment 9 Chris Murphy 2013-05-05 01:21:56 UTC
Created attachment 743648 [details]
File: program.log

Comment 10 Chris Murphy 2013-05-05 01:22:05 UTC
Created attachment 743649 [details]
File: storage.log

Comment 11 Reartes Guillermo 2013-05-08 19:23:21 UTC
Description of problem:
from a clean guest (use wipefs -a on all disk on a previous boot) i did custom partitioning with partition schme set to lvm

created a swap that later modified its lvm settings. i migh interpreted the ui in a wrong way, but it appeared that i created
a lvm swap over md raid1.

later tried to add a /boot to it but it crashed.

Version-Release number of selected component:
anaconda-19.24-1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta-TC3\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta-TC3

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 218, in _onSelectorClicked
    cb(selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2332, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2322, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1305, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1027, in _replace_device
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 61, in selectorFromDevice
    size = Size(spec="%f MB" % device.size)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
ValueError: ('invalid size specification', '-224.000000 MB')

Comment 12 Reartes Guillermo 2013-05-08 19:31:03 UTC
Created attachment 745388 [details]
scrren-shot creating lv

I might be wrong, as i understood the ui, i am creating a 768mb lv on the selected vg over a md raid1 device.

Comment 13 Reartes Guillermo 2013-05-08 19:35:19 UTC
Created attachment 745389 [details]
scrren-shot creating lv for /boot

I might be wrong, as i understood the ui, i am creating a 512mb lv on the selected vg over a md raid1 device. (this time for /boot). Anaconda crashes as soon as i press 'update settings'.

Please note that for this and the previous screen-shots, only the two disks are selected. 


UI NOTE for the 'Configure Volume Group' dialog:

* It does not show how many devices are selected.
* If you have more than two devices selected, it can be seen in the screen-shot.
* The screen should be a bit larger and show at least 3 devices (or 4).

Comment 14 Reartes Guillermo 2013-05-08 19:36:13 UTC
Correction to Comment #12:

* If you have more than two devices selected, it caannot bee seen in the screen-shot.

Comment 15 Peter Kotvan 2013-05-21 11:15:50 UTC
Description of problem:
I've configured different parttion size as suggested by anaconda. After that i've tryed to add new partition and this problem occured.

Version-Release number of selected component:
anaconda-19.28-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 218, in _onSelectorClicked
    cb(selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2364, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2353, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1314, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1033, in _replace_device
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 61, in selectorFromDevice
    size = Size(spec="%f MB" % device.size)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
ValueError: ('invalid size specification', '-26752.000000 MB')

Comment 16 Tomas Vanderka 2013-06-01 13:58:22 UTC
Description of problem:
LVM disk partitioning with raid1 and 2 disks

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 218, in _onSelectorClicked
    cb(selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2364, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2353, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1314, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1033, in _replace_device
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 61, in selectorFromDevice
    size = Size(spec="%f MB" % device.size)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
ValueError: ('invalid size specification', '-2046076.000000 MB')

Comment 17 Adam Williamson 2013-06-03 16:59:46 UTC
dlehman says this is likely a case of 965805.

*** This bug has been marked as a duplicate of bug 965805 ***


Note You need to log in before you can comment on or make changes to this bug.