← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Also affects: glance-store
   Importance: Undecided
       Status: New

** No longer affects: glance

** Changed in: glance-store
       Status: New => Triaged

** Changed in: glance-store
   Importance: Undecided => Medium

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

** Changed in: glance-store
    Milestone: None => v0.1.12

** Changed in: glance-store
       Status: Triaged => In Progress

-- 
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 Glance backend store-drivers library (glance_store):
  In Progress

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-store/+bug/1425617/+subscriptions


References