Comment 2 for bug 1249971

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/55849
Committed: http://github.com/openstack/cinder/commit/2ed2f3aff8eee70e02eb995780af292057cfcad4
Submitter: Jenkins
Branch: master

commit 2ed2f3aff8eee70e02eb995780af292057cfcad4
Author: ling-yun <email address hidden>
Date: Mon Nov 11 22:00:03 2013 +0800

    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.

    Change-Id: I01260c77efa50324f3d203888689cdb1e94d2c21
    Closes-Bug: #1249971