Re: About deleting container/bucket from radosgw

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

 



2012/7/15 Yehuda Sadeh <yehuda@xxxxxxxxxxx>:
> On Sat, Jul 14, 2012 at 8:04 AM, 蔡權昱 <chuanyu@xxxxxxxxxxxxxx> wrote:
> ...
>>
>> On the other hand, why radosgw-admin doesn't supply "bucket rm" call?
>> When I want to "user rm" a user, it seems like I need to "bucket unlink"
>> all buckets belongs to the user, but the buckets are still in there!
>> Then, the other users can not create the same name of bucket
>> anymore(by s3/swift).
>
> Yeah, currently radosgw-admin doesn't provide a way to remove the
> entire content of the bucket. I opened an issue for that (#2786), and
> it ties into another issue also (#2499: the ability to remove user
> without removing its data first). I think we can provide tools for
> manual data removal, but we may also want to explore doing that as
> part of a bigger garbage collection scheme that we'll soon be working
> on.
It sounds good that rgw will have garbage collection!
>>
>> So, Is this the only way I can do by using s3/swift client to delete buckets
>> which belongs to that user before "radosgw-admin user rm" ?
>>
>> Can I "rm" all buckets, and "rm" the user only by radosgw-admin?
>
> You can unlink the buckets and link them to a different user (so that
> you don't just leak the data), and then remove the user.
OK, it's a good approach now, thanks for your advice :)

Chuanyu
>
> Yehuda



-- 
蔡權昱 Tsai Chuanyu
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux