V2 API floating_ips addFloatingIP does not catch InstanceNotFound exception

Bug #1271047 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 floating ip extension (addFloatingIp) does not catch InstanceNotFound exceptions which causes a traceback in the nova api log

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/68030

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

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

commit 78646dd3180eb9cf0c91fdb226b2eb8f16061d7b
Author: Chris Yeoh <email address hidden>
Date: Tue Jan 21 17:30:35 2014 +1030

    Catch InstanceNotFound exceptions for V2 API floating_ips

    Adds handling of InstanceNotFound exceptions in the V2 API
    floating_ips extension and translate them to HTTPNotFound rather
    than letting them propogate and causing a traceback in the logs

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

    Change-Id: Idc1a5b2e6b8cb9778d032e5e1fc8112a65fc225c
    Closes-Bug: 1271047

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.