cinder/cinder
ling-yun ed41b6804a Update quota-set throw 500 error
The server doesn't check whether the parameter "quota_set" or
"quota_class_set" 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.

Closes-Bug: #1249971
(cherry picked from commit 2ed2f3aff8)
Change-Id: I01260c77efa50324f3d203888689cdb1e94d2c21
2014-02-10 14:29:01 +08:00
..
api Update quota-set throw 500 error 2014-02-10 14:29:01 +08:00
backup Use pipe between ceph backup diff export/import 2013-10-30 17:25:08 +00:00
brick LVM: Activate source LV before cloning from it 2013-12-04 10:29:55 -05:00
common Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
compute Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
db Add call to retrieve image metadata for volumes in bulk 2013-11-18 09:54:24 -06:00
image Merge "Don't do glance v2 calls when config is set to v1" into stable/havana 2013-12-06 05:09:23 +00:00
keymgr Add key manager implementation with static key 2013-10-02 21:48:29 -06:00
locale Imported Translations from Transifex 2013-10-03 06:07:57 +00:00
openstack Sync rpc fix from oslo-incubator 2013-12-06 16:02:38 +01:00
scheduler Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
taskflow Refactoring of create_volume to use taskflow. 2013-08-07 19:08:21 -07:00
testing Use nose and openstack nose plugin. 2013-03-07 14:14:08 -05:00
tests Update quota-set throw 500 error 2014-02-10 14:29:01 +08:00
transfer Added need info to accept_transfer 2013-08-20 09:02:33 -06:00
volume LVM migration: Check if name is equal to dest_vg 2013-12-09 23:26:26 +01:00
__init__.py Remove gettext.install() from cinder/__init__.py 2013-05-13 18:45:25 +08:00
context.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
exception.py Add key manager implementation with static key 2013-10-02 21:48:29 -06:00
manager.py Replace FLAGS with cfg.CONF in other modules, unless tests 2013-06-13 13:11:36 +04:00
policy.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
quota.py Move resource usage sync functions to db backend 2013-08-08 10:26:05 +03:00
service.py Fix the multi-backend storge issue for ZMQ. 2013-07-26 00:05:41 -04:00
test.py Remove unused/redundant methods in cinder/test.py 2013-09-07 10:43:27 +08:00
units.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
utils.py Allow spaces in quoted SSH command arguments 2013-11-01 09:47:24 -05:00
version.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
wsgi.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00