422 HTTP status code on several actions
Bug #1204999 reported by
Attila Fazekas
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Matt Riedemann |
Bug Description
Several actions like 'suspend', 'resume' ,'pause', 'unpause' response with 422 Unprocessable Entity (WebDAV; RFC 4918) status code, when the server does not exists or deleted.
The request URL contains the server UUID, so the 404 response as with the other server actions are more logical, all server action should behave in the same way in the server not found situation.
This situations are not tested by tempest now, and probably will not be, until the 422 claimed as expected status code, or it changes to 404.
FIXME: The stable API policy allows to change these status codes in this situation.
tags: | added: api |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
A basic simple script to reproduce is attached.