mismatched image size or checksum leaves behind dangling image data

Bug #1122299 reported by Eoghan Glynn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Eoghan Glynn
Folsom
Fix Released
Medium
Eoghan Glynn
Grizzly
Fix Released
Medium
Eoghan Glynn

Bug Description

When the supplied image size checksum doesn't match the calculated values, partial image image data is left dangling in the backend store.

Eoghan Glynn (eglynn)
Changed in glance:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Eoghan Glynn (eglynn)
milestone: none → grizzly-3
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21675

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

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/21678

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

Reviewed: https://review.openstack.org/21675
Committed: http://github.com/openstack/glance/commit/9f4fb2cda684b6ea257b2eec8eab738ecbe06c72
Submitter: Jenkins
Branch: master

commit 9f4fb2cda684b6ea257b2eec8eab738ecbe06c72
Author: Eoghan Glynn <email address hidden>
Date: Mon Feb 11 18:43:18 2013 +0000

    Avoid dangling partial image on size/checksum mismatch

    Fixes bug 1122299

    Previously, when the supplied image size or checksum didn't match
    the calculated values, partial image image data was left dangling
    in the backend store.

    Now, we clean up when the mismatch is detected.

    Change-Id: I916d78ef3b2065e87df31ec4fb405915417d68aa

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/folsom)

Reviewed: https://review.openstack.org/21678
Committed: http://github.com/openstack/glance/commit/03dc862281feb2124368bcaa4fa766ba0ce99a14
Submitter: Jenkins
Branch: stable/folsom

commit 03dc862281feb2124368bcaa4fa766ba0ce99a14
Author: Eoghan Glynn <email address hidden>
Date: Mon Feb 11 18:43:18 2013 +0000

    Avoid dangling partial image on size/checksum mismatch

    Fixes bug 1122299

    Previously, when the supplied image size or checksum didn't match
    the calculated values, partial image image data was left dangling
    in the backend store.

    Now, we clean up when the mismatch is detected.

    Change-Id: I916d78ef3b2065e87df31ec4fb405915417d68aa

tags: added: in-stable-folsom
Alan Pevec (apevec)
tags: removed: in-stable-folsom
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.