yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22987
[Bug 1376936] [NEW] API Create - duplicate names returns a 500 Error
Public bug reported:
When setting osapi_compute_unique_server_name_scope to project or
global, duplicate names in the appropriate scope should return a
BadRequest (400) but currently returns a ClientException (500), with an
unhelpful message.
In nova.api.openstack.compute.Controller.create InstanceExists exception
is not caught and mapped to BadRequest.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1376936
Title:
API Create - duplicate names returns a 500 Error
Status in OpenStack Compute (Nova):
New
Bug description:
When setting osapi_compute_unique_server_name_scope to project or
global, duplicate names in the appropriate scope should return a
BadRequest (400) but currently returns a ClientException (500), with
an unhelpful message.
In nova.api.openstack.compute.Controller.create InstanceExists
exception is not caught and mapped to BadRequest.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1376936/+subscriptions
Follow ups
References