Bug 849755 - UFO swift object expiration
Summary: UFO swift object expiration
Keywords:
Status: CLOSED DUPLICATE of bug 812279
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-swift
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Prashanth Pai
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-20 19:07 UTC by Kaleb KEITHLEY
Modified: 2014-01-27 06:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-27 06:45:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Kaleb KEITHLEY 2012-08-20 19:07:10 UTC
Description of problem:

Blocker BZ for RHS 2.1

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Kaleb KEITHLEY 2012-09-05 17:50:46 UTC
http://docs.openstack.org/api/openstack-object-storage/1.0/content/Expiring_Objects-e1e3228.html

When an object is assigned either an X-Delete-After or X-Delete-At header when doing a PUT or POST on the object, it is scheduled for deletion. This feature is helpful for objects you do not want to permanently store, such as log files, recurring full backups of a dataset, or documents or images you know will be outdated at a future time.

The X-Delete-At header requires a Unix Epoch timestamp, in integer form; for example: 1348691905 represents Wed, 26 Sep 2012 20:38:25 GMT. By setting the header to a specific Epoch time, you indicate when you want the object to expire, not be served, and be deleted completely from the storage system.

The X-Delete-After header takes an integer number of seconds and calculates the amount of time from now that you want the object to be deleted. The proxy server that receives the request converts this header into an X-Delete-At header and calculates the deletion time using its current time plus the value given in seconds.

For existing objects that you want to assign expiration headers to, use the POST operation.

Comment 3 Luis Pabón 2013-07-12 18:45:47 UTC
We need to confirm this is still an issue in RHS2.1.

Comment 4 Luis Pabón 2013-07-17 01:01:02 UTC
RHS 2.0 UFO Bugs are being set to low priority.

Comment 5 crisbud@redhat.com 2014-01-27 06:45:53 UTC
Being tracked by upstream blueprint : 

https://blueprints.launchpad.net/gluster-swift/+spec/objectexpirer

assigning to Prashanth who is working on the object expiration.

*** This bug has been marked as a duplicate of bug 812279 ***


Note You need to log in before you can comment on or make changes to this bug.