Re: radosgw-admin: mildly confusing man page and usage message

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

 



On Mon, Jun 11, 2012 at 2:35 PM, Florian Haas <florian@xxxxxxxxxxx> wrote:
> Hi,
>
> just noticed that radosgw-admin comes with a bit of confusing content in
> its man page and usage message:
>
> EXAMPLES
>       Generate a new user:
>
>       $ radosgw-admin user gen --display-name="johnny rotten"
> --email=johnny@xxxxxxxxxx
>
> As far as I remember "user gen" is gone, and it's now "user create".
> However:
>
> radosgw-admin user create --display-name="test" --email=test@demo
> user_id was not specified, aborting
>
> ... is followed by a usage message that doesn't mention user_id anywhere
> (the option string is --uid). So conceivably the example could also use
> a mention of --uid.
>
> Also, is there a way to retrieve the "next available" user_id or just
> tell radosgw-admin to use max(user_id)+1?
>
> If one of the Ceph guys could provide a quick comment on this, I can
> send a patch to the man page RST. Thanks.
>

Minimum required to create a user:

radosgw-admin user create --uid=<user id> --display-name=<display name>

The user id is actually a user 'account' name, not necessarily a
numeric value. The email param is optional.

Yehuda
--
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