documentation incorrect: user-create throws on --default_tenant

Bug #966749 reported by Pete Zaitcev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Bhuvan Arumugam

Bug Description

The following happens:

$ keystone user-create --name=admin --pass=password --default_tenant=admten
usage: keystone [--os_username <auth-user-name>] .......

However, this works (stolen from sample-data.sh):

$ keystone user-create --name=admin --pass=password --tenant_id=$TID

The source is very confusing... Has references to --tenant-id with dash instead of underscore, etc. I figured it may be faster make a bug and have Dolph and Chmouel have a look.

Alternatively, fix up doc/sources/configuration.rst that suggests --default_tenant.

Joseph Heck (heckj)
tags: added: docs
summary: - user-create throws on --default_tenant
+ documentation incorrect: user-create throws on --default_tenant
tags: added: low-hanging-fruit
Joseph Heck (heckj)
Changed in keystone:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6201

Changed in keystone:
status: Triaged → In Progress
Revision history for this message
Bhuvan Arumugam (bhuvan) wrote :

Incorporated review comment related to log message and posted a revised patch.

Bhuvan Arumugam (bhuvan)
Changed in keystone:
assignee: nobody → Bhuvaneswaran A (bhuvan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/6201
Committed: http://github.com/openstack/keystone/commit/dadcfee78654f6f37b2168717e41ad705e43181b
Submitter: Jenkins
Branch: master

commit dadcfee78654f6f37b2168717e41ad705e43181b
Author: Bhuvan Arumugam <email address hidden>
Date: Tue Apr 3 15:13:57 2012 -0700

    Fix argument name referred in the document.

    Bug: 966749.

    * doc/sources/configuration.rst
      (user-create): The optional argument name is tenant_id.

    Change-Id: Ibb10c608779c0df74f22c50b99a7ffc3900f1782

Changed in keystone:
status: In Progress → Fix Committed
Joseph Heck (heckj)
Changed in keystone:
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: folsom-1 → 2012.2
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.