Syntax error in server create request body should return 400 code
Bug #1175683 reported by
Phil Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Satyanarayana Patibandla |
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-
'networks' : {'fixed_ip' : '192.168.1.250', 'uuid' : '124af605-
Changed in nova: | |
assignee: | nobody → Satyanarayana Patibandla (satya-patibandla-i) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Could you please provide me the entire request details which you are sending to create a server.