Bug 789114

Summary: TypeError: getReleaseString() takes no arguments (1 given)
Product: [Fedora] Fedora Reporter: Ryan Martin <kynalvarus>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:51c929d88b5b52fa2a721825f117c221c8cb3e9e85bde956be2b7d27a2a9dd41
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 21:08:22 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:
Bug Depends On: 748119    
Bug Blocks:    
Attachments:
Description Flags
File: anaconda-tb-xGVOYb none

Description Ryan Martin 2012-02-09 20:42:48 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.1.0-7.fc16.x86_64
product:        Fedora
reason:         TypeError: getReleaseString() takes no arguments (1 given)
time:           Thu Feb  9 15:41:53 2012
version:        16

anaconda-tb-xGVOYb: Text file, 457521 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 16.25 exception report
:Traceback (most recent call first):
:  File "/tmp/updates/pyanaconda/storage/__init__.py", line 1524, in findExistingRootDevices
:    (arch, product, version) = getReleaseString(anaconda.rootPath)
:  File "/tmp/updates/pyanaconda/upgrade.py", line 81, in findRootParts
:    upgradeany=flags.cmdline.has_key("upgradeany"))
:  File "/tmp/updates/pyanaconda/dispatch.py", line 373, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/tmp/updates/pyanaconda/gui.py", line 88, in return_false
:    func(*args, **kwargs)
:TypeError: getReleaseString() takes no arguments (1 given)

Comment 1 Ryan Martin 2012-02-09 20:42:51 UTC
Created attachment 560701 [details]
File: anaconda-tb-xGVOYb

Comment 2 Ryan Martin 2012-02-09 20:51:16 UTC
This bug was encountered trying to update F15 -> F16 today, on a system with / and /var both on separate LVM volumes. I booted into the preupgrade image with "updates=http://clumens.fedorapeople.org/748119.img" on the kernel line. Is it possible that the prototype of getReleaseString() has changed since this patch was created?

Comment 3 Chris Lumens 2012-02-09 21:08:22 UTC
I've updated the updates image.  Please don't file new bugs about any other problems seen with it as this code is correct in anaconda, and I'm just having to reconstruct the image by hand.