Re: [openstack-dev] [nova] Should the server create API return 404 errors?

2013-11-25 Thread Christopher Yeoh
On Tue, Nov 26, 2013 at 9:41 AM, Aaron Rosen wrote: > > > On Mon, Nov 25, 2013 at 6:00 PM, Christopher Yeoh wrote: > >> On Tue, Nov 26, 2013 at 7:27 AM, Matt Riedemann < >> mrie...@linux.vnet.ibm.com> wrote: >> >>> Aaron Rosen is working a patch [1] to handle a NetworkNotFound exception >>> in th

Re: [openstack-dev] [nova] Should the server create API return 404 errors?

2013-11-25 Thread Aaron Rosen
On Mon, Nov 25, 2013 at 6:00 PM, Christopher Yeoh wrote: > On Tue, Nov 26, 2013 at 7:27 AM, Matt Riedemann < > mrie...@linux.vnet.ibm.com> wrote: > >> Aaron Rosen is working a patch [1] to handle a NetworkNotFound exception >> in the server create API. For the V2 API this will return a 400 error

Re: [openstack-dev] [nova] Should the server create API return 404 errors?

2013-11-25 Thread Christopher Yeoh
On Tue, Nov 26, 2013 at 7:27 AM, Matt Riedemann wrote: > Aaron Rosen is working a patch [1] to handle a NetworkNotFound exception > in the server create API. For the V2 API this will return a 400 error. > For the V3 API this will return a 404 because of a V3-specific patch [2]. > The API docs l

Re: [openstack-dev] [nova] Should the server create API return 404 errors?

2013-11-25 Thread Shawn Hartsock
inal Message - > From: "Matt Riedemann" > To: "OpenStack Development Mailing List (not for usage questions)" > > Sent: Monday, November 25, 2013 3:57:40 PM > Subject: [openstack-dev] [nova] Should the server create API return 404 > errors? > > Aaron R

[openstack-dev] [nova] Should the server create API return 404 errors?

2013-11-25 Thread Matt Riedemann
Aaron Rosen is working a patch [1] to handle a NetworkNotFound exception in the server create API. For the V2 API this will return a 400 error. For the V3 API this will return a 404 because of a V3-specific patch [2]. The API docs list 404 as a valid response code, but is it intuitive for a