keystone-manage throws error on example given in man page

Bug #843074 reported by klmitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Unassigned

Bug Description

## Running $> "man bin/keystone-manage" gives the following information:
Usage: keystone-manage [options] type command [id [attributes]]
   type : role, tenant, user, token (more to come)
   command : add, list, disable (more to come)
   id : name or id
  attributes : depending on type
        users : password, tenant
       tokens: user, tenant, expiration

 role list [tenant] will list roles granted on that tenant
options
-c | --config-file : config file to use
-d | --debug : debug mode

Example: keystone-manage add user Admin P@ssw0rd

## Running $> "bin/keystone-manage add user Admin P@ssw0rd" gives you the following exception:

Usage: keystone-manage [options] type command [id [[atributes]]

keystone-manage: error: add is not a supported object type

Revision history for this message
klmitch (q-noreply) wrote :

Try "bin/keystone-manage user add Admin P@ssw0rd" ? Maybe we have
transposed the logic for the parametersŠ

On 8/9/11 4:36 PM, "joesavak"
<email address hidden>
 wrote:

>## Running $> "man bin/keystone-manage" gives the following information:
>Usage: keystone-manage [options] type command [id [attributes]]
> type : role, tenant, user, token (more to come)
> command : add, list, disable (more to come)
> id : name or id
> attributes : depending on type
> users : password, tenant
> tokens: user, tenant, expiration
>
> role list [tenant] will list roles granted on that tenant
>options
>-c | --config-file : config file to use
>-d | --debug : debug mode
>
>Example: keystone-manage add user Admin P@ssw0rd
>
>
>## Running $> "bin/keystone-manage add user Admin P@ssw0rd" gives you the
>following exception:
>
>Usage: keystone-manage [options] type command [id [[atributes]]
>
>keystone-manage: error: add is not a supported object type
>
>--
>Reply to this email directly or view it on GitHub:
>https://github.com/rackspace/keystone/issues/136

This email may include confidential information. If you received it in error, please delete it.

Revision history for this message
klmitch (q-noreply) wrote :

Yup - that was the issue. I'll update the comments.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.