<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<pre>Hi All,<br /><br /><pre>I use Openstack Havana (Storage + Identity)
</pre>
<br /><br /><span id="result_box"><span class="hps">I want to</span> <span class="hps">automatically</span> <span class="hps">delete an object after 2 minutes </span><span class="hps"></span><span class="hps">but swift doesn't remove the object</span>.<span class="hps"></span></span><br /><br /><strong><br />Example<br /><br />curl -i -X PUT  --data-binary 2 -H "X-Auth-Token: $tokenSwift" -H 'X-Delete-After:120' http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Container-Test-003/test</strong> HTTP/1.1 201 Created Last-Modified: Tue, 26 Nov 2013 10:10:33 GMT Content-Length: 0 Etag: c81e728d9d4c2f636f067f89cc14862c Content-Type: text/html; charset=UTF-8 Date: Tue, 26 Nov 2013 10:10:33 GMT Connection: close <br /><strong>curl -i -X GET -H "X-Auth-Token: $tokenSwift" http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Container-Test-003</strong> HTTP/1.1 200 OK Content-Length: 5 X-Container-Object-Count: 1 Accept-Ranges: bytes X-Timestamp: 1385459942.90726 X-Container-Bytes-Used: 1 Content-Type: text/plain; charset=utf-8 Date: Tue, 26 Nov 2013 10:10:41 GMT Connection: close  test  <strong>curl -i -X HEAD -H "X-Auth-Token: $tokenSwift" http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Container-Test-003/test</strong> HTTP/1.1 200 OK Content-Length: 1 X-Delete-At: 1385460753 Accept-Ranges: bytes Last-Modified: Tue, 26 Nov 2013 10:10:33 GMT Etag: c81e728d9d4c2f636f067f89cc14862c X-Timestamp: 1385460633.76513 Content-Type: application/x-www-form-urlencoded Date: Tue, 26 Nov 2013 10:12:16 GMT Connection: close<br /><br /><br /><em>After 2 minutes</em><br /><br /><strong>curl -i -X HEAD -H "X-Auth-Token: $tokenSwift" http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Container-Test-003/test</strong><br />HTTP/1.1 404 Not Found<br />Content-Length: 0<br />Content-Type: text/html; charset=UTF-8<br />Date: Tue, 26 Nov 2013 10:27:23 GMT<br />Connection: close<br /><br /><strong>curl -i -X GET -H "X-Auth-Token: $tokenSwift" http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Container-Test-003/</strong><br />HTTP/1.1 200 OK<br />Content-Length: 5<br />X-Container-Object-Count: 1<br />Accept-Ranges: bytes<br />X-Timestamp: 1385459942.90726<br />X-Container-Bytes-Used: 1<br />Content-Type: text/plain; charset=utf-8<br />Date: Tue, 26 Nov 2013 10:31:23 GMT<br />Connection: close<br /><br />test<br /><br /><br /><br /><br />One day after, <span id="result_box"><span class="hps">the object is still</span> <span class="hps">there<br /><span id="result_box"><span class="hps"><span id="result_box"><span class="hps">Why the object</span> <span class="hps">is not deleted</span><span>?</span></span><br /><br />Thank you<br />Thorfinn<br /></span></span><br /><br /></span></span></pre>
</body></html>