2012/7/15 Yehuda Sadeh <yeh...@inktank.com>: > On Sat, Jul 14, 2012 at 8:04 AM, 蔡權昱 <chua...@cs.nctu.edu.tw> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html