← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425617] [NEW] Glance's swift driver unable to delete image data stored as SLO

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
     Assignee: Hemanth Makkapati (hemanth-makkapati)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Hemanth Makkapati (hemanth-makkapati)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1425617

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

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1425617/+subscriptions


Follow ups

References