Comment 4 for bug 1092584

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

Reviewed: https://review.openstack.org/18873
Committed: http://github.com/openstack/glance/commit/5e5e722d353e0670d2aa06cbac8e138617c10806
Submitter: Jenkins
Branch: stable/folsom

commit 5e5e722d353e0670d2aa06cbac8e138617c10806
Author: Eoghan Glynn <email address hidden>
Date: Thu Dec 20 15:33:56 2012 +0000

    Verify size in addition to checksum of uploaded image

    Fixes bug 1092584

    Previously only the supplied checksum was verified against the actual
    checksum calculated by the backend store, with the image being killed
    on mismatch.

    Now we also similarly verify the supplied image size, if provided.

    Change-Id: I87fa3ff77715111f1095f3ebe64cd699776ec27e