All of lore.kernel.org
 help / color / mirror / Atom feed
* radosgw-admin: mildly confusing man page and usage message
@ 2012-06-11 21:35 Florian Haas
  2012-06-11 21:39 ` Yehuda Sadeh
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Haas @ 2012-06-11 21:35 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

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@rotten.com

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.

Cheers,
Florian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: radosgw-admin: mildly confusing man page and usage message
  2012-06-11 21:35 radosgw-admin: mildly confusing man page and usage message Florian Haas
@ 2012-06-11 21:39 ` Yehuda Sadeh
  2012-06-11 21:57   ` Florian Haas
  0 siblings, 1 reply; 3+ messages in thread
From: Yehuda Sadeh @ 2012-06-11 21:39 UTC (permalink / raw)
  To: Florian Haas; +Cc: ceph-devel@vger.kernel.org

On Mon, Jun 11, 2012 at 2:35 PM, Florian Haas <florian@hastexo.com> 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@rotten.com
>
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: radosgw-admin: mildly confusing man page and usage message
  2012-06-11 21:39 ` Yehuda Sadeh
@ 2012-06-11 21:57   ` Florian Haas
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Haas @ 2012-06-11 21:57 UTC (permalink / raw)
  To: Yehuda Sadeh; +Cc: ceph-devel@vger.kernel.org

On 06/11/12 23:39, Yehuda Sadeh wrote:
>> 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.

Thanks. https://github.com/ceph/ceph/pull/13

Cheers,
Florian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-11 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 21:35 radosgw-admin: mildly confusing man page and usage message Florian Haas
2012-06-11 21:39 ` Yehuda Sadeh
2012-06-11 21:57   ` Florian Haas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.