Comment 2 for bug 1038227

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

Reviewed: https://review.openstack.org/11578
Committed: http://github.com/openstack/nova/commit/1a605cccb1fe29ae6554ad5afa3110abef11d9c2
Submitter: Jenkins
Branch: master

commit 1a605cccb1fe29ae6554ad5afa3110abef11d9c2
Author: Dan Prince <email address hidden>
Date: Fri Aug 17 15:34:28 2012 -0400

    Return HTTP 422 on bad server update PUT request.

    This patch updates the /servers API and the disk config
    extension so that they properly handle incorrectly formatted
    server update/PUT requests.

    Includes a new test cause that verifies (with extensions enabled)
    that a poorly formatted PUT request to /servers returns HTTP 422
    instead of a 500.

    Also updated the previous test_create_missing_server test to use
    test.TestException instead of Exception.

    Fixes LP Bug #1038227.

    Change-Id: I6b11602790778465348647bb5825b7326d50065a