Comment 7 for bug 1035982

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

Reviewed: https://review.openstack.org/12465
Committed: http://github.com/openstack/glance/commit/3bfd7bd56c1a8ebc8aff1218c52ac13b66cabb9f
Submitter: Jenkins
Branch: master

commit 3bfd7bd56c1a8ebc8aff1218c52ac13b66cabb9f
Author: Alex Meade <email address hidden>
Date: Wed Sep 5 13:55:46 2012 -0400

    Raise bad request early if image metadata is invalid

    Image data is currently uploaded into the backend store even if it is a bad
    request. This patch add value validation in the deserializer so we don't set bad
    data. It also does a full validation of the image metadata to make sure
    everything that is needed for an image upload is set correctly before the upload
    can occur.

    There were currently some relevant tests that had incorrect names causing them
    to not run. These have been fixed and modified.

    Fixes bug 1035982

    Change-Id: I6f3ef83ba7b3de3cb885fad9737fef1a03d9222c