Bug 797311

Summary: InvalidOperation: Invalid literal for Decimal: '9.90.1'
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-17.12-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-29 21:00:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
anaconda traceback and debug info
none
storage.log none

Description John Reiser 2012-02-24 21:55:08 UTC
Created attachment 565679 [details]
anaconda traceback and debug info

Description of problem: Detecting Basic Storage devices crashes.


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

How reproducible: haven't tried

Steps to Reproduce:
1. boot Fedora 17 Alpha.RC4 x86_64 DVD for install, with updates=http://bugzilla.redhat.com/attachment.cgi?id=565351
2. Accept defaults (enter <SpaceBar>) all the way.
3.
  
Actual results:
anaconda 17.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/decimal.py", line 3844, in _raise_error
    raise error(explanation)
  File "/usr/lib64/python2.7/decimal.py", line 548, in __new__
    "Invalid literal for Decimal: %r" % value)
  File "/tmp/updates/pyanaconda/installclasses/fedora.py", line 121, in versionMatches
    oldVer = Decimal(oldver)
  File "/tmp/updates/pyanaconda/installclass.py", line 218, in productUpgradable
    "version"  : self.versionMatches(oldver),
  File "/tmp/updates/pyanaconda/storage/__init__.py", line 1626, in findExistingRootDevices
    (upgradable, tests) = anaconda.instClass.productUpgradable(arch, product, version)
  File "/tmp/updates/pyanaconda/upgrade.py", line 81, in findRootParts
    upgradeany=flags.cmdline.has_key("upgradeany"))
  File "/tmp/updates/pyanaconda/dispatch.py", line 383, in dispatch
    self.dir = self.steps[self.step].target(self.anaconda)
  File "/tmp/updates/pyanaconda/dispatch.py", line 247, in go_forward
    self.dispatch()
  File "/tmp/updates/pyanaconda/gui.py", line 1200, in nextClicked
    self.anaconda.dispatch.go_forward()
InvalidOperation: Invalid literal for Decimal: '9.90.1'


Expected results: success


Additional info:

Comment 1 John Reiser 2012-02-24 21:55:40 UTC
Created attachment 565680 [details]
storage.log

/tmp/storage.log

Comment 2 John Reiser 2012-02-27 04:56:48 UTC
Fedora 10 Alpha (32-bit) had:
-----/etc/fedora-release
Fedora release 9.90.1 (Rawhide)
-----

Comment 3 Brian Lane 2012-02-29 21:00:26 UTC
This will be fixed by commit 3af69ffe170e4cb984abc05f5a4ead1e9e6629a2 for bug 791317

also note that we have never supported a nvr style release version, only X and X.X