HTTP 500 is returned when using an invalid fixed ip to attach interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Qin Zhao |
Bug Description
When I post an 'attach interface' request to Nova with an invalid fixed ip, Nova returns an HTTP 500 error and a confusing error message.
REQ: curl -i 'http://
INFO (connectionpool
DEBUG (connectionpool
RESP: [500] {'date': 'Thu, 04 Sep 2014 16:06:49 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
In fact, Nova works perfect well. The error is caused by my incorrect input. Nova should be able to address this incorrect input, and return an HTTP 400 error in order to to inform the user to correct the request.
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/119128
Review: https:/