create/update of v3 servers return 422 when input is invalid
Bug #1251538 reported by
Alex Xu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Alex Xu |
Bug Description
In v3 servers core api, create and update will return 422 when input is invalid.
if not self.is_
raise exc.HTTPUnproce
We prefer use 400 for this case in v3 api.
Changed in nova: | |
milestone: | none → icehouse-2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
It's the same way in the v2 API. There are other APIs doing the same thing too. Maybe a discussion for nova on the dev mailing list?