Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 612941 - Different syntax for exception in python2.6
Different syntax for exception in python2.6
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Marek Grac
Cluster QE
Depends On:
  Show dependency treegraph
Reported: 2010-07-09 07:12 EDT by Marek Grac
Modified: 2010-11-10 17:09 EST (History)
3 users (show)

See Also:
Fixed In Version: fence-agents-3.0.12-7.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 17:09:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (1.54 KB, application/octet-stream)
2010-07-09 07:12 EDT, Marek Grac
no flags Details

  None (edit)
Description Marek Grac 2010-07-09 07:12:25 EDT
Created attachment 430640 [details]
Proposed patch

When exception in fence_rsb is encountered we got traceback:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException, not str

This is not critical issue as fence agent will fail anyway but with proper error message.

Reported and patch proposed by Guido Günther
Comment 3 Dean Jansa 2010-08-24 12:02:34 EDT
verified exceptions updated
Comment 4 releng-rhel@redhat.com 2010-11-10 17:09:05 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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