All of lore.kernel.org
 help / color / mirror / Atom feed
* Aw: Re: [ceph-users] RGW lifecycle not expiring objects
       [not found]         ` <trinity-b11b03b1-bc6b-466e-ba26-77e1154d575f-1496604855693@3capp-gmx-bs77>
@ 2017-06-04 23:05           ` Anton Oks
  2017-06-04 23:12             ` ceph.novice-k4R3PER4nllwCEqMux5wBA
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Oks @ 2017-06-04 23:05 UTC (permalink / raw)
  To: Yehuda Sadeh-Weinraub; +Cc: ceph-users, ceph-devel


Hi (again) Yehuda.

Looping in ceph-devel...
 
Could it be that lifecycle is still not implemented in Jewel and/or Kraken, even if the release notes and other places say so?
 
https://www.spinics.net/lists/ceph-devel/msg34492.html
https://github.com/ceph/ceph-ci/commit/7d48f62f5c86913d8f00b44d46a04a52d338907c
https://github.com/ceph/ceph-ci/commit/9162bd29594d34429a09562ed60a32a0703940ea
 
Thanks & regards
 Anton
 

Gesendet: Sonntag, 04. Juni 2017 um 21:34 Uhr
Von: ceph.novice@habmalnefrage.de
An: "Yehuda Sadeh-Weinraub" <yehuda@redhat.com>
Cc: "ceph-users@lists.ceph.com" <ceph-users@lists.ceph.com>
Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
Hi Yahuda.

Well, here we go: http://tracker.ceph.com/issues/20177

As it's my first one, hope it's ok as it is...

Thanks & regards
Anton


Gesendet: Samstag, 03. Juni 2017 um 00:14 Uhr
Von: "Yehuda Sadeh-Weinraub" <yehuda@redhat.com>
An: ceph.novice@habmalnefrage.de
Cc: "Graham Allan" <gta@umn.edu>, "ceph-users@lists.ceph.com" <ceph-users@lists.ceph.com>
Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
Have you opened a ceph tracker issue, so that we don't lose track of
the problem?

Thanks,
Yehuda

On Fri, Jun 2, 2017 at 3:05 PM, <ceph.novice@habmalnefrage.de> wrote:
> Hi Graham.
>
> We are on Kraken and have the same problem with "lifecycle". Various (other) tools like s3cmd or CyberDuck do show the applied "expiration" settings, but objects seem never to be purged.
>
> If you should have new findings, hints,... PLEASE share/let me know.
>
> Thanks a lot!
> Anton
>
>
> Gesendet: Freitag, 19. Mai 2017 um 22:44 Uhr
> Von: "Graham Allan" <gta@umn.edu>
> An: ceph-users@lists.ceph.com
> Betreff: [ceph-users] RGW lifecycle not expiring objects
> I've been having a hard time getting the s3 object lifecycle to do
> anything here. I was able to set a lifecycle on a test bucket. As others
> also seem to have found, I do get an EACCES error on setting the
> lifecycle, but it does however get stored:
>
>> % aws --endpoint-url https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx] s3api get-bucket-lifecycle-configuration --bucket=testgta
>> {
>> "Rules": [
>> {
>> "Status": "Enabled",
>> "Prefix": "",
>> "Expiration": {
>> "Days": 3
>> },
>> "ID": "test"
>> }
>> ]
>> }
>
> but many days later I have yet to see any object actually get expired.
> There are some hints in the rgw log that the expiry thread does run
> periodically:
>
>> 2017-05-19 03:49:03.281347 7f74f1134700 2 RGWDataChangesLog::ChangesRenewThread: start
>> 2017-05-19 03:49:16.356022 7f74ef931700 2 object expiration: start
>> 2017-05-19 03:49:16.356036 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000000
>> 2017-05-19 03:49:16.359785 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000001
>> 2017-05-19 03:49:16.364667 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000002
>> 2017-05-19 03:49:16.369636 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000003
> ...
>> 2017-05-19 03:49:16.803270 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000126
>> 2017-05-19 03:49:16.806423 7f74ef931700 2 object expiration: stop
>
> "radosgw-admin lc process" gives me no output unless I enable debug, then:
>
>> ]# radosgw-admin lc process
>> 2017-05-19 15:28:46.383049 7fedb9ffb700 2 RGWDataChangesLog::ChangesRenewThread: start
>> 2017-05-19 15:28:46.421806 7feddc240c80 10 Cannot find current period zone using local zone
>> 2017-05-19 15:28:46.453431 7feddc240c80 2 all 8 watchers are set, enabling cache
>> 2017-05-19 15:28:46.614991 7feddc240c80 2 removed watcher, disabling cache
>
> "radosgw-admin lc list" seems to return "empty" output:
>
>> # radosgw-admin lc list
>> []
>
> Is there anything obvious that I might be missing?
>
> Graham
> --
> Graham Allan
> Minnesota Supercomputing Institute - gta@umn.edu
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RGW lifecycle not expiring objects
  2017-06-04 23:05           ` Aw: Re: [ceph-users] RGW lifecycle not expiring objects Anton Oks
@ 2017-06-04 23:12             ` ceph.novice-k4R3PER4nllwCEqMux5wBA
  2017-06-04 23:16               ` ceph.novice-k4R3PER4nllwCEqMux5wBA
  0 siblings, 1 reply; 5+ messages in thread
From: ceph.novice-k4R3PER4nllwCEqMux5wBA @ 2017-06-04 23:12 UTC (permalink / raw)
  To: Yehuda Sadeh-Weinraub
  Cc: ceph-users-idqoXFIVOFJgJs9I8MT0rw, ceph-devel-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/html, Size: 8278 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RGW lifecycle not expiring objects
  2017-06-04 23:12             ` ceph.novice-k4R3PER4nllwCEqMux5wBA
@ 2017-06-04 23:16               ` ceph.novice-k4R3PER4nllwCEqMux5wBA
  2017-06-05 13:16                 ` Daniel Gryniewicz
  0 siblings, 1 reply; 5+ messages in thread
From: ceph.novice-k4R3PER4nllwCEqMux5wBA @ 2017-06-04 23:16 UTC (permalink / raw)
  To: Yehuda Sadeh-Weinraub
  Cc: ceph-users-idqoXFIVOFJgJs9I8MT0rw, ceph-devel-u79uwXL29TY76Z2rM5mHXA


grrr... sorry && and again as text :|
 

Gesendet: Montag, 05. Juni 2017 um 01:12 Uhr
Von: ceph.novice@habmalnefrage.de
An: "Yehuda Sadeh-Weinraub" <yehuda@redhat.com>
Cc: "ceph-users@lists.ceph.com" <ceph-users@lists.ceph.com>, ceph-devel@vger.kernel.org
Betreff: Re: [ceph-users] RGW lifecycle not expiring objects

 

Hi (again) Yehuda.
 
Looping in ceph-devel...
 
Could it be that lifecycle is still not implemented neither in Jewel nor in Kraken, even if release notes and other places say so?
 
https://www.spinics.net/lists/ceph-devel/msg34492.html
https://github.com/ceph/ceph-ci/commit/7d48f62f5c86913d8f00b44d46a04a52d338907c
https://github.com/ceph/ceph-ci/commit/9162bd29594d34429a09562ed60a32a0703940ea
 
Thanks & regards
 Anton
 

Gesendet: Sonntag, 04. Juni 2017 um 21:34 Uhr
Von: ceph.novice@habmalnefrage.de
An: "Yehuda Sadeh-Weinraub" <yehuda@redhat.com>
Cc: "ceph-users@lists.ceph.com" <ceph-users@lists.ceph.com>
Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
Hi Yahuda.

Well, here we go: http://tracker.ceph.com/issues/20177[http://tracker.ceph.com/issues/20177]

As it's my first one, hope it's ok as it is...

Thanks & regards
Anton


Gesendet: Samstag, 03. Juni 2017 um 00:14 Uhr
Von: "Yehuda Sadeh-Weinraub" <yehuda@redhat.com>
An: ceph.novice@habmalnefrage.de
Cc: "Graham Allan" <gta@umn.edu>, "ceph-users@lists.ceph.com" <ceph-users@lists.ceph.com>
Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
Have you opened a ceph tracker issue, so that we don't lose track of
the problem?

Thanks,
Yehuda

On Fri, Jun 2, 2017 at 3:05 PM, <ceph.novice@habmalnefrage.de> wrote:
> Hi Graham.
>
> We are on Kraken and have the same problem with "lifecycle". Various (other) tools like s3cmd or CyberDuck do show the applied "expiration" settings, but objects seem never to be purged.
>
> If you should have new findings, hints,... PLEASE share/let me know.
>
> Thanks a lot!
> Anton
>
>
> Gesendet: Freitag, 19. Mai 2017 um 22:44 Uhr
> Von: "Graham Allan" <gta@umn.edu>
> An: ceph-users@lists.ceph.com
> Betreff: [ceph-users] RGW lifecycle not expiring objects
> I've been having a hard time getting the s3 object lifecycle to do
> anything here. I was able to set a lifecycle on a test bucket. As others
> also seem to have found, I do get an EACCES error on setting the
> lifecycle, but it does however get stored:
>
>> % aws --endpoint-url https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx][https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx]] s3api get-bucket-lifecycle-configuration --bucket=testgta
>> {
>> "Rules": [
>> {
>> "Status": "Enabled",
>> "Prefix": "",
>> "Expiration": {
>> "Days": 3
>> },
>> "ID": "test"
>> }
>> ]
>> }
>
> but many days later I have yet to see any object actually get expired.
> There are some hints in the rgw log that the expiry thread does run
> periodically:
>
>> 2017-05-19 03:49:03.281347 7f74f1134700 2 RGWDataChangesLog::ChangesRenewThread: start
>> 2017-05-19 03:49:16.356022 7f74ef931700 2 object expiration: start
>> 2017-05-19 03:49:16.356036 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000000
>> 2017-05-19 03:49:16.359785 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000001
>> 2017-05-19 03:49:16.364667 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000002
>> 2017-05-19 03:49:16.369636 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000003
> ...
>> 2017-05-19 03:49:16.803270 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000126
>> 2017-05-19 03:49:16.806423 7f74ef931700 2 object expiration: stop
>
> "radosgw-admin lc process" gives me no output unless I enable debug, then:
>
>> ]# radosgw-admin lc process
>> 2017-05-19 15:28:46.383049 7fedb9ffb700 2 RGWDataChangesLog::ChangesRenewThread: start
>> 2017-05-19 15:28:46.421806 7feddc240c80 10 Cannot find current period zone using local zone
>> 2017-05-19 15:28:46.453431 7feddc240c80 2 all 8 watchers are set, enabling cache
>> 2017-05-19 15:28:46.614991 7feddc240c80 2 removed watcher, disabling cache
>
> "radosgw-admin lc list" seems to return "empty" output:
>
>> # radosgw-admin lc list
>> []
>
> Is there anything obvious that I might be missing?
>
> Graham
> --
> Graham Allan
> Minnesota Supercomputing Institute - gta@umn.edu
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]]
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]
 
 _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RGW lifecycle not expiring objects
  2017-06-04 23:16               ` ceph.novice-k4R3PER4nllwCEqMux5wBA
@ 2017-06-05 13:16                 ` Daniel Gryniewicz
       [not found]                   ` <3c3ff290-8032-1e03-dd82-eefd2ac01d34-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Gryniewicz @ 2017-06-05 13:16 UTC (permalink / raw)
  To: ceph.novice-k4R3PER4nllwCEqMux5wBA, Yehuda Sadeh-Weinraub
  Cc: ceph-users-idqoXFIVOFJgJs9I8MT0rw, ceph-devel-u79uwXL29TY76Z2rM5mHXA

Kraken has lifecycle, Jewel does not.

Daniel

On 06/04/2017 07:16 PM, ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org wrote:
>
> grrr... sorry && and again as text :|
>
>
> Gesendet: Montag, 05. Juni 2017 um 01:12 Uhr
> Von: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
> An: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Cc: "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>, ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
>
>
>
> Hi (again) Yehuda.
>
> Looping in ceph-devel...
>
> Could it be that lifecycle is still not implemented neither in Jewel nor in Kraken, even if release notes and other places say so?
>
> https://www.spinics.net/lists/ceph-devel/msg34492.html
> https://github.com/ceph/ceph-ci/commit/7d48f62f5c86913d8f00b44d46a04a52d338907c
> https://github.com/ceph/ceph-ci/commit/9162bd29594d34429a09562ed60a32a0703940ea
>
> Thanks & regards
>  Anton
>
>
> Gesendet: Sonntag, 04. Juni 2017 um 21:34 Uhr
> Von: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
> An: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Cc: "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>
> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
> Hi Yahuda.
>
> Well, here we go: http://tracker.ceph.com/issues/20177[http://tracker.ceph.com/issues/20177]
>
> As it's my first one, hope it's ok as it is...
>
> Thanks & regards
> Anton
>
>
> Gesendet: Samstag, 03. Juni 2017 um 00:14 Uhr
> Von: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> An: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
> Cc: "Graham Allan" <gta-OJFnDUYgAso@public.gmane.org>, "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>
> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
> Have you opened a ceph tracker issue, so that we don't lose track of
> the problem?
>
> Thanks,
> Yehuda
>
> On Fri, Jun 2, 2017 at 3:05 PM, <ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org> wrote:
>> Hi Graham.
>>
>> We are on Kraken and have the same problem with "lifecycle". Various (other) tools like s3cmd or CyberDuck do show the applied "expiration" settings, but objects seem never to be purged.
>>
>> If you should have new findings, hints,... PLEASE share/let me know.
>>
>> Thanks a lot!
>> Anton
>>
>>
>> Gesendet: Freitag, 19. Mai 2017 um 22:44 Uhr
>> Von: "Graham Allan" <gta-OJFnDUYgAso@public.gmane.org>
>> An: ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> Betreff: [ceph-users] RGW lifecycle not expiring objects
>> I've been having a hard time getting the s3 object lifecycle to do
>> anything here. I was able to set a lifecycle on a test bucket. As others
>> also seem to have found, I do get an EACCES error on setting the
>> lifecycle, but it does however get stored:
>>
>>> % aws --endpoint-url https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx][https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx]] s3api get-bucket-lifecycle-configuration --bucket=testgta
>>> {
>>> "Rules": [
>>> {
>>> "Status": "Enabled",
>>> "Prefix": "",
>>> "Expiration": {
>>> "Days": 3
>>> },
>>> "ID": "test"
>>> }
>>> ]
>>> }
>>
>> but many days later I have yet to see any object actually get expired.
>> There are some hints in the rgw log that the expiry thread does run
>> periodically:
>>
>>> 2017-05-19 03:49:03.281347 7f74f1134700 2 RGWDataChangesLog::ChangesRenewThread: start
>>> 2017-05-19 03:49:16.356022 7f74ef931700 2 object expiration: start
>>> 2017-05-19 03:49:16.356036 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000000
>>> 2017-05-19 03:49:16.359785 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000001
>>> 2017-05-19 03:49:16.364667 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000002
>>> 2017-05-19 03:49:16.369636 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000003
>> ...
>>> 2017-05-19 03:49:16.803270 7f74ef931700 20 proceeding shard = obj_delete_at_hint.0000000126
>>> 2017-05-19 03:49:16.806423 7f74ef931700 2 object expiration: stop
>>
>> "radosgw-admin lc process" gives me no output unless I enable debug, then:
>>
>>> ]# radosgw-admin lc process
>>> 2017-05-19 15:28:46.383049 7fedb9ffb700 2 RGWDataChangesLog::ChangesRenewThread: start
>>> 2017-05-19 15:28:46.421806 7feddc240c80 10 Cannot find current period zone using local zone
>>> 2017-05-19 15:28:46.453431 7feddc240c80 2 all 8 watchers are set, enabling cache
>>> 2017-05-19 15:28:46.614991 7feddc240c80 2 removed watcher, disabling cache
>>
>> "radosgw-admin lc list" seems to return "empty" output:
>>
>>> # radosgw-admin lc list
>>> []
>>
>> Is there anything obvious that I might be missing?
>>
>> Graham
>> --
>> Graham Allan
>> Minnesota Supercomputing Institute - gta-OJFnDUYgAso@public.gmane.org
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.cep
 h.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]]
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]
>
>  _______________________________________________ ceph-users mailing list ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RGW lifecycle not expiring objects
       [not found]                   ` <3c3ff290-8032-1e03-dd82-eefd2ac01d34-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-06-05 18:07                     ` Ben Hines
  0 siblings, 0 replies; 5+ messages in thread
From: Ben Hines @ 2017-06-05 18:07 UTC (permalink / raw)
  To: Daniel Gryniewicz
  Cc: ceph.novice-k4R3PER4nllwCEqMux5wBA,
	ceph-devel-u79uwXL29TY76Z2rM5mHXA,
	ceph-users-idqoXFIVOFJgJs9I8MT0rw


[-- Attachment #1.1: Type: text/plain, Size: 9059 bytes --]

FWIW lifecycle is working for us. I did have to research to find the
appropriate lc config file settings, the documentation for which is found
in a git pull request (waiting for another release?) rather than on the
Ceph docs site. https://github.com/ceph/ceph/pull/13990


Try these:
debug rgw = 20
rgw lifecycle work time = 00:01-23:59


and see if you have lifecycles listed when you run:


radosgw-admin lc list


2017-06-05 10:58:00.473957 7f3429f77c80  0 System already converted
[
    {
        "bucket": ":bentest:default.653959.6",
        "status": "COMPLETE"
    },
    {
        "bucket": ":<redacted>:default.24713983.1",
        "status": "PROCESSING"
    },
    {
        "bucket": ":<redacted>:default.24713983.2",
        "status": "PROCESSING"
    },

....


At 10 loglevel, the lifecycle processor logs 'DELETED' each time it deletes
something: https://github.com/ceph/ceph/blob/master/src/rgw/rgw_lc.cc#L388

 grep --text DELETED client.<hostname>.log | wc -l
121853


-Ben

On Mon, Jun 5, 2017 at 6:16 AM, Daniel Gryniewicz <dang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:

> Kraken has lifecycle, Jewel does not.
>
> Daniel
>
>
> On 06/04/2017 07:16 PM, ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org wrote:
>
>>
>> grrr... sorry && and again as text :|
>>
>>
>> Gesendet: Montag, 05. Juni 2017 um 01:12 Uhr
>> Von: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
>> An: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> Cc: "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>,
>> ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
>>
>>
>>
>> Hi (again) Yehuda.
>>
>> Looping in ceph-devel...
>>
>> Could it be that lifecycle is still not implemented neither in Jewel nor
>> in Kraken, even if release notes and other places say so?
>>
>> https://www.spinics.net/lists/ceph-devel/msg34492.html
>> https://github.com/ceph/ceph-ci/commit/7d48f62f5c86913d8f00b
>> 44d46a04a52d338907c
>> https://github.com/ceph/ceph-ci/commit/9162bd29594d34429a095
>> 62ed60a32a0703940ea
>>
>> Thanks & regards
>>  Anton
>>
>>
>> Gesendet: Sonntag, 04. Juni 2017 um 21:34 Uhr
>> Von: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
>> An: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> Cc: "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>
>> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
>> Hi Yahuda.
>>
>> Well, here we go: http://tracker.ceph.com/issues
>> /20177[http://tracker.ceph.com/issues/20177]
>>
>> As it's my first one, hope it's ok as it is...
>>
>> Thanks & regards
>> Anton
>>
>>
>> Gesendet: Samstag, 03. Juni 2017 um 00:14 Uhr
>> Von: "Yehuda Sadeh-Weinraub" <yehuda-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> An: ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org
>> Cc: "Graham Allan" <gta-OJFnDUYgAso@public.gmane.org>, "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" <
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>
>> Betreff: Re: [ceph-users] RGW lifecycle not expiring objects
>> Have you opened a ceph tracker issue, so that we don't lose track of
>> the problem?
>>
>> Thanks,
>> Yehuda
>>
>> On Fri, Jun 2, 2017 at 3:05 PM, <ceph.novice-k4R3PER4nllwCEqMux5wBA@public.gmane.org> wrote:
>>
>>> Hi Graham.
>>>
>>> We are on Kraken and have the same problem with "lifecycle". Various
>>> (other) tools like s3cmd or CyberDuck do show the applied "expiration"
>>> settings, but objects seem never to be purged.
>>>
>>> If you should have new findings, hints,... PLEASE share/let me know.
>>>
>>> Thanks a lot!
>>> Anton
>>>
>>>
>>> Gesendet: Freitag, 19. Mai 2017 um 22:44 Uhr
>>> Von: "Graham Allan" <gta-OJFnDUYgAso@public.gmane.org>
>>> An: ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>>> Betreff: [ceph-users] RGW lifecycle not expiring objects
>>> I've been having a hard time getting the s3 object lifecycle to do
>>> anything here. I was able to set a lifecycle on a test bucket. As others
>>> also seem to have found, I do get an EACCES error on setting the
>>> lifecycle, but it does however get stored:
>>>
>>> % aws --endpoint-url https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx][
>>>> https://xxx.xxx.xxx.xxx[https://xxx.xxx.xxx.xxx]] s3api
>>>> get-bucket-lifecycle-configuration --bucket=testgta
>>>> {
>>>> "Rules": [
>>>> {
>>>> "Status": "Enabled",
>>>> "Prefix": "",
>>>> "Expiration": {
>>>> "Days": 3
>>>> },
>>>> "ID": "test"
>>>> }
>>>> ]
>>>> }
>>>>
>>>
>>> but many days later I have yet to see any object actually get expired.
>>> There are some hints in the rgw log that the expiry thread does run
>>> periodically:
>>>
>>> 2017-05-19 03:49:03.281347 7f74f1134700 2 RGWDataChangesLog::ChangesRenewThread:
>>>> start
>>>> 2017-05-19 03:49:16.356022 7f74ef931700 2 object expiration: start
>>>> 2017-05-19 03:49:16.356036 7f74ef931700 20 proceeding shard =
>>>> obj_delete_at_hint.0000000000
>>>> 2017-05-19 03:49:16.359785 7f74ef931700 20 proceeding shard =
>>>> obj_delete_at_hint.0000000001
>>>> 2017-05-19 03:49:16.364667 7f74ef931700 20 proceeding shard =
>>>> obj_delete_at_hint.0000000002
>>>> 2017-05-19 03:49:16.369636 7f74ef931700 20 proceeding shard =
>>>> obj_delete_at_hint.0000000003
>>>>
>>> ...
>>>
>>>> 2017-05-19 03:49:16.803270 7f74ef931700 20 proceeding shard =
>>>> obj_delete_at_hint.0000000126
>>>> 2017-05-19 03:49:16.806423 7f74ef931700 2 object expiration: stop
>>>>
>>>
>>> "radosgw-admin lc process" gives me no output unless I enable debug,
>>> then:
>>>
>>> ]# radosgw-admin lc process
>>>> 2017-05-19 15:28:46.383049 7fedb9ffb700 2 RGWDataChangesLog::ChangesRenewThread:
>>>> start
>>>> 2017-05-19 15:28:46.421806 7feddc240c80 10 Cannot find current period
>>>> zone using local zone
>>>> 2017-05-19 15:28:46.453431 7feddc240c80 2 all 8 watchers are set,
>>>> enabling cache
>>>> 2017-05-19 15:28:46.614991 7feddc240c80 2 removed watcher, disabling
>>>> cache
>>>>
>>>
>>> "radosgw-admin lc list" seems to return "empty" output:
>>>
>>> # radosgw-admin lc list
>>>> []
>>>>
>>>
>>> Is there anything obvious that I might be missing?
>>>
>>> Graham
>>> --
>>> Graham Allan
>>> Minnesota Supercomputing Institute - gta-OJFnDUYgAso@public.gmane.org
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http:
>>> //lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]]
>>>
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http:
>>> //lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]]
>>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http:
>> //lists.ceph.com/listinfo.cgi/ceph-users-ceph.com][http://
>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com[http://
>> lists.ceph.com/listinfo.cgi/ceph-users-ceph.com]]
>>
>>  _______________________________________________ ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo
>> .cgi/ceph-users-ceph.com[http://lists.ceph.com/listinfo.cgi/
>> ceph-users-ceph.com]
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

[-- Attachment #1.2: Type: text/html, Size: 16610 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-05 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABGPr5nfykSv=ib6N_jMOarOF=O1XaPLxCXY6nNYR81wa62TBQ@mail.gmail.com>
     [not found] ` <CABGPr5=5y3NBJ_jGB1w=2=DeHU1GF4f7Ji+kTAJ_4f+O37hTFg@mail.gmail.com>
     [not found]   ` <e19ebc5a-c8c1-eefb-acec-65fbc0284101@umn.edu>
     [not found]     ` <trinity-9ef02e67-6909-42f8-ab06-a750a2bfab3c-1496441134227@3capp-gmx-bs48>
     [not found]       ` <CADRKj5ShtTBA=_3e89jC-t31sArHZ=9Wfc5cA5VRHKFfd+gz0A@mail.gmail.com>
     [not found]         ` <trinity-b11b03b1-bc6b-466e-ba26-77e1154d575f-1496604855693@3capp-gmx-bs77>
2017-06-04 23:05           ` Aw: Re: [ceph-users] RGW lifecycle not expiring objects Anton Oks
2017-06-04 23:12             ` ceph.novice-k4R3PER4nllwCEqMux5wBA
2017-06-04 23:16               ` ceph.novice-k4R3PER4nllwCEqMux5wBA
2017-06-05 13:16                 ` Daniel Gryniewicz
     [not found]                   ` <3c3ff290-8032-1e03-dd82-eefd2ac01d34-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-06-05 18:07                     ` Ben Hines

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.