V2 API virtual interfaces does not catch InstanceNotFound exceptions

Bug #1270804 reported by Christopher Yeoh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Christopher Yeoh

Bug Description

The V2 API virtual interfaces extension does not catch InstanceNotFound exceptions which causes a traceback in the nova api log

Tags: api
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/68020

Changed in nova:
status: Confirmed → In Progress
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/68020
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d9b2c0127c11eb832f1c37e01977e04d4f9cb1ab
Submitter: Jenkins
Branch: master

commit d9b2c0127c11eb832f1c37e01977e04d4f9cb1ab
Author: Chris Yeoh <email address hidden>
Date: Tue Jan 21 14:58:40 2014 +1030

    Catch InstanceNotFound exceptions for V2 API virtual interfaces

    Use the common.get_instance method to get the instance object
    in the V2 API virtual interfaces extension rather than call
    the compute api directly. The utility function
    handes InstanceNotFound exceptions and tranlsates them to HTTPNotFound
    rather than letting them propagate up causing a traceback.

    Co-Authored-By: Michael Still <email address hidden>

    Change-Id: I8abee22c53195926e3d2af1da9b14cd9d3608e63
    Closes-Bug: 1270804

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.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.