Re: radosgw-admin list users?

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

 



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 <robbat2@xxxxxxxxxx> 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 <robbat2@xxxxxxxxxx> 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     : robbat2@xxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
> 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 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