for i in `radosgw-admin bucket list`; do radosgw-admin bucket unlink --bucket=$i --uid=myuser; done (tried with and without '=')
failure: (2) No such file or directory2018-04-16 15:37:54.022423 7f7c250fbc80 0 could not get bucket info for bucket="bucket5",
On Mon, Apr 16, 2018 at 8:30 AM, Casey Bodley <cbodley@xxxxxxxxxx> wrote:
On 04/14/2018 12:54 PM, Robert Stanford wrote:
ThanksOn another, semi-related note, I've been deleting (existing) buckets and their contents with s3cmd (and --recursive); the space is never freed from ceph and the bucket still appears in s3cmd ls. Looks like my radosgw has several issues, maybe all related to deleting and recreating the pools.When I run 'radosgw-admin bucket list' I get a list of all my old buckets (I thought they'd be cleaned out when I deleted and recreated default.rgw.buckets.index, but I was wrong.) Deleting them with s3cmd and radosgw-admin does nothing; they still appear (though s3cmd will give a '404' error.) Running radosgw-admin with 'bucket check' and '--fix' does nothing as well. So, how do I get myself out of this mess.I deleted my default.rgw.buckets.data and default.rgw.buckets.index pools in an attempt to clean them out. I brought this up on the list and received replies telling me essentially, "You shouldn't do that." There was however no helpful advice on recovering.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/ listinfo.cgi/ceph-users-ceph. com
The 'bucket list' command takes a user and prints the list of buckets they own - this list is read from the user object itself. You can remove these entries with the 'bucket unlink' command.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com