create snapshot throws 500 Internal Error
Bug #1252179 reported by
huangtianhua
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
The server doesn't check whether the parameter "volume_id"is in request body. So the 500 error has been thrown.
We should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500.
Both v1 and v2 have the same problem.
Changed in cinder: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in cinder: | |
importance: | Undecided → Medium |
tags: | added: api |
Changed in cinder: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/56886
Review: https:/