While deleting an image, Glance Swift store fails to delete remaining chunks upon erroring on one of the chunks
Bug #1256364 reported by
Hemanth Makkapati
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Hemanth Makkapati |
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.
Changed in glance: | |
assignee: | nobody → Hemanth Makkapati (hemanth-makkapati) |
Changed in glance: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in glance: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Hi Hemanth, do you still working on this? any update? thanks.