nova.exception.novaclient_converter references unknown class ConvertedException

Bug #909772 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
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):
        try:
            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)
Changed in nova:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Waldon (bcwaldon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/2671

Brian Waldon (bcwaldon)
Changed in nova:
milestone: none → essex-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/2671
Committed: http://github.com/openstack/nova/commit/e135f939a40617ef5b5c9847454c2db066eb72cb
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)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.