Exceptions raised by quantum validate_networks result in 500 error

Bug #1193421 reported by Phil Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Phil Day

Bug Description

Network validation errors (such as port in use) result in a 500 error because the exceptions are not subclassed correctly

Tags: network
Phil Day (philip-day)
Changed in nova:
assignee: nobody → Phil Day (philip-day)
Matt Riedemann (mriedem)
tags: added: network
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/34015
Committed: http://github.com/openstack/nova/commit/14733455cf28cee926f5be82998b84d570ee206f
Submitter: Jenkins
Branch: master

commit 14733455cf28cee926f5be82998b84d570ee206f
Author: Phil Day <email address hidden>
Date: Fri Jun 21 17:37:01 2013 +0100

    Exceptions raised by quantum validate_networks result in 500 error

    The exceptions raised by validate_networks should be subclassed
    from Invalid so they result in a 400 error

    These exceptions are also used in allocate_for_instance

    Fixes bug 1193421

    Change-Id: If708e413d81a9d32bf81e7821d876736c4ac40ef

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