Glance's swift driver unable to delete image data stored as SLO

Bug #1425617 reported by Hemanth Makkapati
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glance_store
Fix Released
Medium
Hemanth Makkapati

Bug Description

Glance's swift driver provides the capability to delete image data from Swift backend when an image is deleted. However, as of today, the swift driver is only capable of deleting image data that is stored as a regular swift object or dynamic large object(DLO). When image data is stored as static large object(SLO), it fails to delete the image data completely. Currently, for an SLO, the swift driver just deletes the manifest and leaves the segments behind. This leads to stale data sitting around in the cluster.

A point to note here would be: Glance itself never uploads an image as SLO. It either uploads the image as one object or DLO. However, this doesn't eliminate the possibility of a user creating an image with '--file' that points to a swift SLO. So, even though Glance itself may not upload data as DLO, it should be able to delete data that is stored as SLO.

Changed in glance:
assignee: nobody → Hemanth Makkapati (hemanth-makkapati)
Changed in glance:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance_store (master)

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

Changed in glance:
status: Triaged → In Progress
no longer affects: glance
Changed in glance-store:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Hemanth Makkapati (hemanth-makkapati)
milestone: none → v0.1.12
status: Triaged → In Progress
Changed in glance-store:
milestone: v0.1.12 → v0.1.13
Revision history for this message
Nikhil Komawar (nikhil-komawar) wrote :
Changed in glance-store:
milestone: v0.4.0 → v0.4.1
milestone: v0.4.1 → none
status: In Progress → Fix Released
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.