https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-04-14T19:07:32ZCeph rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=894062017-04-14T19:07:32ZBen Hinesbhines@gmail.com
<ul></ul><p>(also let me know if there is a way to clean up these old garbage lifecycles -- they seem to have the full path to the bucket, so i suspect just recreating a bucket with the same name and then deleting it will not work)</p> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=894112017-04-14T20:57:23ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>rgw</i></li><li><strong>Subject</strong> changed from <i>kraken: rgw: Bucket lifecycles stick around after buckets are deleted</i> to <i>Bucket lifecycles stick around after buckets are deleted</i></li></ul> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=970052017-08-16T12:18:15Zhongwei xu
<ul></ul><p>Ben Hines wrote:</p>
<blockquote>
<p>1. Create a rgw bucket.<br />2. Create a bucket lifecycle on the bucket<br />3. Delete the bucket.<br />4. Type 'radosgw-admin lc list'</p>
<p>->> Notice the lifecycle is still listed there.</p>
<p>I expected the lifecycle to go away / not be listed anymore once the bucket was deleted.</p>
</blockquote>
<p>(1) # ./bin/radosgw-admin lc list<br />[]</p>
<p>(2)# s3cmd setlifecycle /home/xhw/Downloads/lc.xml s3://test --signature-v2<br />s3://test/: Lifecycle Policy updated</p>
<p>(3) # ./bin/radosgw-admin lc list<br />[
{<br />"bucket": ":test:f2b2cd49-73b8-444e-9df2-6e1fde4c90d4.4161.1",<br />"status": "COMPLETE" <br />}<br />]</p>
<p>(4) # s3cmd dellifecycle s3://test<br />s3://test/: Lifecycle Policy deleted</p>
<p>(5) # s3cmd rb s3://test<br />Bucket 's3://test/' removed</p>
<p>(6)# ./bin/radosgw-admin lc list<br />[
{<br />"bucket": ":test:f2b2cd49-73b8-444e-9df2-6e1fde4c90d4.4161.1",<br />"status": "COMPLETE" <br />}<br />]</p> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=970062017-08-16T12:19:02Zhongwei xu
<ul></ul><p>Ben Hines wrote:</p>
<blockquote>
<p>(also let me know if there is a way to clean up these old garbage lifecycles -- they seem to have the full path to the bucket, so i suspect just recreating a bucket with the same name and then deleting it will not work)</p>
</blockquote>
<p><a class="external" href="https://github.com/ceph/ceph/pull/17046">https://github.com/ceph/ceph/pull/17046</a></p> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=1147612018-06-07T18:39:16ZOrit Wassermanowasserm@redhat.com
<ul></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/10460">https://github.com/ceph/ceph/pull/10460</a></p> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=1147622018-06-07T18:39:28ZOrit Wassermanowasserm@redhat.com
<ul><li><strong>Backport</strong> set to <i>luminous</i></li></ul> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=1147632018-06-07T18:39:39ZOrit Wassermanowasserm@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pending Backport</i></li></ul> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=1148652018-06-09T11:19:51ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/24477">Backport #24477</a>: luminous: Bucket lifecycles stick around after buckets are deleted</i> added</li></ul> rgw - Bug #19632: Bucket lifecycles stick around after buckets are deletedhttps://tracker.ceph.com/issues/19632?journal_id=1154612018-06-20T21:50:05ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>