flavors.create extension returns 500 for duplicated flavor

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

Bug Description

Steps to reproduce:

> nova flavor-create myflav 40 256 2 1
> nova flavor-create myflav 40 256 2 1

Expected:

A useful error message.

Actual:

stack@tonytest01:~/python-novaclient$ nova flavor-create thdfer 40 256 2 1 --ephemeral 33
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Changed in nova:
assignee: nobody → Anthony Young (sleepsonthefloor)
status: New → In Progress
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/4382

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

Reviewed: https://review.openstack.org/4382
Committed: http://github.com/openstack/nova/commit/1767e0ae9595003c22facc86e590b7c9b1ed6a75
Submitter: Jenkins
Branch: master

commit 1767e0ae9595003c22facc86e590b7c9b1ed6a75
Author: Anthony Young <email address hidden>
Date: Tue Feb 21 21:10:57 2012 -0800

    Return 40x for flavor.create duplicate.

     * Fixes bug 938194
     * Return error 409 instead of 400

    Change-Id: Ia3c597dc996d88e7026f76d1104058259c96301c

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