OpenStack Compute (Nova)

flavors.create extension returns 500 for duplicated flavor

Reported by Anthony Young on 2012-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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

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) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers