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
Reviewed: https:/ /review. openstack. org/11578 github. com/openstack/ nova/commit/ 1a605cccb1fe29a e6554ad5afa3110 abef11d9c2
Committed: http://
Submitter: Jenkins
Branch: master
commit 1a605cccb1fe29a e6554ad5afa3110 abef11d9c2
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 TestException instead of Exception.
test.
Fixes LP Bug #1038227.
Change-Id: I6b116027907784 65348647bb5825b 7326d50065a