Re: can't delete buckets in radosgw after i recreated the radosgw pools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



okay i used the following python client
https://github.com/AlexYangYu/s3-cli

and created a bucket with the command
s3-cli create_bucket MYBUCKET

then with radosgw-admin i tried a fix with the following command

radosgw-admin --uid=chef bucket check --bucket=MYBUCKET--fix

and did the trick i can now add objects to my buckets again and can delete the buckets again

-----Original Message-----
From: Colin Corr <colin@xxxxxxxxxxxxx>
To: ceph-users@xxxxxxxxxxxxxx <ceph-users@xxxxxxxxxxxxxx>
Subject: Re: [ceph-users] can't delete buckets in radosgw after i recreated the radosgw pools
Date: Wed, 29 Apr 2015 12:35:38 -0700


On 04/29/2015 07:55 AM, Makkelie, R (ITCDCC) - KLM wrote:
> i first had some major disaster i had 12 incomplete pgs that couldn't be fixed. (due to several harddisk failures at once)
> alls these incomplete pgs where all in the ".rgw" and ".rgw.buckets" pools
> 
> so the only option i could think of is to take my loses and delete and recreate those pools.
> 
> the only issue now is that radosgw still think there is data because its showing my old directories
> 
> i tried:
> - deleting bucket with recursive option
> - scan and fix buckets
> - delete user
> 
> and i can't do any of these things because he wants to remove them but it can't because it receives a 404
> i even upgraded to the latest giant release but no luck so far
> 
> does any one have a idea?
> 
> greetz
> Ramonskie
> 
>

I encountered the same problem while testing different recovery scenarios. What worked for me:

Create a bucket (directory) with the same name (as an existing deleted bucket)
Then, Delete the bucket

I used the Python S3 API to do it because the non-existent buckets were only seen via the S3 API and the radosgw-admin could not see them anymore.

hope that helps,
Colin

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux