Comment 3 for bug 886353

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/2180
Committed: http://github.com/openstack/nova/commit/1270e11ef9fb3723e4a86bfe99d500ffbe615a4d
Submitter: Jenkins
Branch: stable/diablo

commit 1270e11ef9fb3723e4a86bfe99d500ffbe615a4d
Author: Ewan Mellor <email address hidden>
Date: Fri Nov 4 14:00:37 2011 -0700

    Bug #886353: Faults raised by OpenStack API Resource handlers fail to be reported properly

    In Resource.__call__, catch any faults.Fault that are thrown by the request
    handler, and make those the action_result. This means that the Fault doesn't
    fall into the exception handler below (faults.Fault is a subclass of
    webob.exc.HTTPException) and so we don't attempt to wrap a Fault in a Fault.

    (cherry picked from commit 01150b5d0d482a83a1065c2a6d62f4963c9f838d)

    Change-Id: Ica31723ddd621332ec4be75db0d675bc98905e43