Update quota-class-set and quota-set thrown 500 error
Bug #1249222 reported by
huangtianhua
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
huangtianhua |
Bug Description
When update quota-class-set without the parameter "quota_
"The server has either erred or is incapable of performing the requested operation."
Because the server doesn't check whether the parameter "quota_class_set" is in request body,the KeyError is not catched.
for key in body['quota_
......
I think we should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500.
Update quota-set has the same problem.
Changed in nova: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/55633
Review: https:/