yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22668
[Bug 1256364] Re: While deleting an image, Glance Swift store fails to delete remaining chunks upon erroring on one of the chunks
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => juno-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1256364
Title:
While deleting an image, Glance Swift store fails to delete remaining
chunks upon erroring on one of the chunks
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
While attempting to delete an image, glance swift store:
1. checks if the image is stored as chunks.
2. if stored as chunks:
2.a. fetch the list of chunks
2.b. iterates over chunks and deletes each one
2.c. deletes the manifest
3. if not stored as chunks, deletes the object
In step 2.b, when iterating over the list of chunks and deleting each
one, if glance swift store receives an error on one of the chunks, an
exception is raised and the delete process halts leaving the remaining
chunks orphaned. This may cause orphaned chunks to be leftover in
swift.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1256364/+subscriptions