Comment 2 for bug 1253904

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

Reviewed: https://review.openstack.org/57847
Committed: http://github.com/openstack/cinder/commit/58db021240cafb33f602aba50fdaa9060c15d84a
Submitter: Jenkins
Branch: master

commit 58db021240cafb33f602aba50fdaa9060c15d84a
Author: huangtianhua <email address hidden>
Date: Fri Nov 22 15:22:07 2013 +0800

    Migrate volume should check para "host" in request

    The server doesn't check whether the parameter "host" 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: #1253904
    Change-Id: I3fb07113816a87f284b47e32bacd57f78a32676c