Bug 844973

Summary: beaker-wizard: needs compatibility fixes for RHEL5
Product: [Retired] Beaker Reporter: Miroslav Vadkerti <mvadkert>
Component: command lineAssignee: Petr Šplíchal <psplicha>
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 0.7CC: bpeck, dcallagh, isenfeld, jingwang, mvadkert, ohudlick, psplicha, rmancy, stl, tools-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: BeakerWizard
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-05 07:19:05 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:

Description Miroslav Vadkerti 2012-08-01 11:38:55 UTC
Description of problem:
beaker-wizard uses some Python 2.6+ constructions that make the script traceback on RHEL5 which has only Python 2.4. For example:

Short description
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Provide a short sentence describing the test.
[What the test does?] Tries to parse 2 netdump packets and checks if parsed values are correct
Traceback (most recent call last):
  File "/usr/bin/beaker-wizard", line 2411, in ?
    test = Test(options)
  File "/usr/bin/beaker-wizard", line 877, in __init__
    self.init()
  File "/usr/bin/beaker-wizard", line 2125, in init
    self.releases = Releases(self.options)
  File "/usr/bin/beaker-wizard", line 877, in __init__
    self.init()
  File "/usr/bin/beaker-wizard", line 1366, in init
    self.list += ["RHEL{0}".format(id) for id in range(6, 9)]
AttributeError: 'str' object has no attribute 'format'

Version-Release number of selected component (if applicable):
beaker-wizard 2.3.0

Actual results:
traceback on RHEL5

Expected results:
tool works on RHEL5 also

Comment 2 Dan Callaghan 2014-04-07 04:49:29 UTC
We are no longer updating beaker-client for RHEL5... Do you still need this?

Comment 3 Miroslav Vadkerti 2014-05-05 07:19:05 UTC
I did not know that. I can live without it. Closing as WONTFIX