Re: [ceph-users] Purged a pool, buckets remain
Ok. How do I fix what's been broke? How do I "rebuild my index"? Thanks On Wed, Apr 11, 2018 at 1:49 AM, Robin H. Johnson wrote: > On Tue, Apr 10, 2018 at 10:06:57PM -0500, Robert Stanford wrote: > > I used this command to purge my rgw data: > > > > rados purge default.rgw.buckets.data --yes-i-really-really-mean-it > > > > Now, when I list the buckets with s3cmd, I still see the buckets (s3cmd > ls > > shows a listing of them.) When I try to delete one (s3cmd rb) I get > this: > ... > > I thought maybe the names were sticking around in > > default.rgw.buckets.index, so I purged that too. But no luck, the > phantom > > buckets are still there. > The list of buckets is in the OMAP of the users. > > But as the others said, this was not a good way to go about trying to > delete the data. > > The only case I can see is if you were playing around and wanted to > completely stop using RGW in an existing cluster, and do CephFS or RBD > instead. > > If you did want want to completely get rid of RGW data, you should wipe > out ALL of the RGW pools, not just the data pool. > "radosgw-admin zone get" will show them to you. > > -- > Robin Hugh Johnson > Gentoo Linux: Dev, Infra Lead, Foundation Treasurer > E-Mail : robb...@gentoo.org > GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 > GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 > ___ > ceph-users mailing list > ceph-users@lists.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
Re: [ceph-users] Purged a pool, buckets remain
On Tue, Apr 10, 2018 at 10:06:57PM -0500, Robert Stanford wrote: > I used this command to purge my rgw data: > > rados purge default.rgw.buckets.data --yes-i-really-really-mean-it > > Now, when I list the buckets with s3cmd, I still see the buckets (s3cmd ls > shows a listing of them.) When I try to delete one (s3cmd rb) I get this: ... > I thought maybe the names were sticking around in > default.rgw.buckets.index, so I purged that too. But no luck, the phantom > buckets are still there. The list of buckets is in the OMAP of the users. But as the others said, this was not a good way to go about trying to delete the data. The only case I can see is if you were playing around and wanted to completely stop using RGW in an existing cluster, and do CephFS or RBD instead. If you did want want to completely get rid of RGW data, you should wipe out ALL of the RGW pools, not just the data pool. "radosgw-admin zone get" will show them to you. -- Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robb...@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Purged a pool, buckets remain
Now, when I list the buckets with s3cmd, I still see the buckets (s3cmd ls shows a listing of them.) When I try to delete one (s3cmd rb) I get this: ERROR: S3 error: 404 (NoSuchKey) Because you are drop all your data. But all your buckets is indexed. You shouldn't work with S3 like this. Why not delete data with S3 client (like S3 cmd)? At this time you should rebuild your index. k ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com