yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20435
[Bug 1350800] Re: nova v3 api boot failed, return error 500 instead of 404
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-3
--
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/1350800
Title:
nova v3 api boot failed, return error 500 instead of 404
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
when boot an instance without specify the networking.
nova-api v2 and v3 behavior difference:
[tagett@stack-01 devstack]$ nova --os-compute-api-version 2 boot vm2 --flavor 1 --image 44c37b90-0ec3-460a-bdf2-bd8bb98c9fdf
ERROR (BadRequest): Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-dbbf32e4-7eda-421c-8b3b-2ae697769077)
[tagett@stack-01 devstack]$ nova --os-compute-api-version 3 boot vm2 --flavor 1 --image 44c37b90-0ec3-460a-bdf2-bd8bb98c9fdf
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NetworkAmbiguous'> (HTTP 500)
nova-api should report BadRequest with correct error message instead
of 'Unexpected API Error'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1350800/+subscriptions
References