nova.exception.novaclient_converter references unknown class ConvertedException

Bug #909772 reported by Brian Waldon on 2011-12-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Brian Waldon

Bug Description

The class 'ConvertedException' is unknown, and I'm not sure what it should be. See the snippet below:

def novaclient_converter(f):
    """Convert novaclient ClientException HTTP codes to webob exceptions.
    Has to be the outer-most decorator.
    def new_f(*args, **kwargs):
            ret = f(*args, **kwargs)
            return ret
        except novaclient.exceptions.ClientException, e:
            raise ConvertedException(e.code, e.message, e.details)
    return new_f

Brian Waldon (bcwaldon) on 2011-12-29
Changed in nova:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Waldon (bcwaldon)
Brian Waldon (bcwaldon) on 2011-12-29
Changed in nova:
milestone: none → essex-3

Submitter: Jenkins
Branch: master

commit e135f939a40617ef5b5c9847454c2db066eb72cb
Author: Brian Waldon <email address hidden>
Date: Thu Dec 29 10:57:38 2011 -0500

    Fixing novaclient_converter NameError

    bug 909772

    Change-Id: Iac7b45648cd1c85fdc3c8febbd0ef69b63a70c92

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-01-25
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers