← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1175683] Re: Syntax error in server create request body should return 400 code

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
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/1175683

Title:
  Syntax error in server create request body should return 400 code

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  While trying to create a new server instance, an error (500 return
  code) was received because of bad syntax with the "networks" parameter
  found in the request body  (needed to surround parameter value with
  square brackets).  While the server created successfully once the
  syntax in the request body was corrected, it was determined that the
  proper return code for the error case would have been a 400 (bad
  request).

  Here is what the network info in the request body looked like when the
  500 error was received:

     'networkRef' : '124af605-b346-43d2-b4f6-316d9f83aee9',
      'networks' : {'fixed_ip' : '192.168.1.250', 'uuid' : '124af605-b346-43d2-b4f6-316d9f83aee9'},

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1175683/+subscriptions