Thanks Robin and Yehuda, but I want to how to delete multiple users.

I use 'radosgw-admin metadata list user’ to list all users, and found some 
users have unreadable code.

radosgw-admin metadata list user
[
    "zzm1",
    "?zzm1",
    "?zzm1”]

and I can’t delete these unreadable users.

radosgw-admin user rm —uid="?zzm1"
could not remove user: unable to remove user, user does not exist

so I want to know, do rgw admin have command to delete multiply or all users?

Thanks.

On Sep 19, 2014, at 4:01 AM, Robin H. Johnson <[email protected]> wrote:

> On Thu, Sep 18, 2014 at 10:38:19AM -0700,  Yehuda Sadeh wrote:
>> On Thu, Sep 18, 2014 at 10:27 AM, Robin H. Johnson <[email protected]> 
>> wrote:
>>> Related to this thread, radosgw-admin doesn't seem to have anything to
>>> list the users.
>>> 
>>> The closest I have as a hack is:
>>> rados ls --pool=.users.uid |sed 's,.buckets$,,g' |sort |uniq
>>> 
>> 
>> Try:
>> 
>> $ radosgw-admin metadata list user
> Ooh nice!
> Nothing in the --help output says 'metadata list' takes arguments (and
> the manpage for radosgw-admin doesn't even have the metadata commands).
> 
> -- 
> Robin Hugh Johnson
> Gentoo Linux: Developer, Infrastructure Lead
> E-Mail     : [email protected]
> GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to