[Openstack] [Swift] Object-Expirer not expiring objects

John Dickinson me at not.mn
Thu Dec 5 16:17:24 UTC 2013


What version of Swift are you using? You can find it with `python -c 'import swift; print swift.__version__'`.

If you have a version later than 1.10.0 (ie the Havana release), you may be running into https://bugs.launchpad.net/swift/+bug/1257330 (for which we have a patch in progress at https://review.openstack.org/#/c/59811/).

--John




On Dec 4, 2013, at 9:52 PM, Matt Harlum <matt at cactuar.net> wrote:

> Hi,
> 
> I’m currently trying to get the Object-expiry working, it shows that there are objects to delete, but for some reason it just doesn’t do it
> 
> When object-expirer runs, it shows that there are objects to delete but doesn’t do so. I have been trying to get this working for months without any luck, am I missing something?
> 
> Config:
> 
> [DEFAULT]
> swift_dir = /etc/swift
> user = swift
> log_facility = LOG_LOCAL0
> log_level = DEBUG
> 
> [object-expirer]
> auto_create_account_prefix = .
> 
> [pipeline:main]
> pipeline = recon catch_errors cache proxy-server
> 
> [app:proxy-server]
> use = egg:swift#proxy
> 
> [filter:recon]
> use = egg:swift#recon
> recon_cache_path = /var/cache/swift
> 
> [filter:cache]
> use = egg:swift#memcache
> memcache_servers = 127.0.0.1:11211
> 
> [filter:catch_errors]
> use = egg:swift#catch_errors
> 
> 
> swift-object-expirer /etc/swift/object-expirer.conf -v -o
> object-expirer Run begin
> swift - - 05/Dec/2013/05/49/14 HEAD /v1/.expiring_objects HTTP/1.0 204 - Swift%20Object%20Expirer - - - - txb51bcf9ecc694987b3c40d363519ab00 - 0.0029 -
> object-expirer Pass beginning; 2 possible containers; 2 possible objects
> swift - - 05/Dec/2013/05/49/14 GET /v1/.expiring_objects%3Fformat%3Djson%26marker%3D%26end_marker%3D HTTP/1.0 200 - Swift%20Object%20Expirer - - 96 - tx4d7393a8cfd64cfb9186ce028d4a6dd2 - 0.0021 -
> swift - - 05/Dec/2013/05/49/14 GET /v1/.expiring_objects/1377129600%3Fformat%3Djson%26marker%3D%26end_marker%3D HTTP/1.0 404 - Swift%20Object%20Expirer - - 52 - txc6b0e2737d874afa9aff1227cce0f972 - 0.0055 -
> swift - - 05/Dec/2013/05/49/14 DELETE /v1/.expiring_objects/1377129600 HTTP/1.0 404 - Swift%20Object%20Expirer - - 52 - txb3aa5fa3c54b4b478634fec4ddc6845f - 0.0038 -
> object-expirer Run end (txn: txb3aa5fa3c54b4b478634fec4ddc6845f)
> object-expirer Pass completed in 0s; 0 objects expired
> 
> 
> Thanks,
> —Matt
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131205/f99441ea/attachment.sig>


More information about the Openstack mailing list