OpenStack Image Registry and Delivery Service (Glance)

mismatched image size or checksum leaves behind dangling image data

Reported by Eoghan Glynn on 2013-02-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Medium
Eoghan Glynn
Folsom
Medium
Eoghan Glynn
Grizzly
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) on 2013-02-11
Changed in glance:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Eoghan Glynn (eglynn)
milestone: none → grizzly-3
status: Confirmed → In Progress

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) on 2013-02-21
Changed in glance:
status: Fix Committed → Fix Released

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) on 2013-04-05
tags: removed: in-stable-folsom
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers