← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462708] Re: Mismatch argument name for keystone create new user

 

1. ``keystone'' cli is deprecated, you should use ``openstack'' cli -- http://docs.openstack.org/developer/python-openstackclient/.
2. This is a long-standing issue of project vs tenant. In v3 there is ``project'' everywhere, in v2 there is ``tenant''. ``keystone'' cli uses only v2 api, thus ``tenant'' is ok there. Horizon is more up to date.

** Project changed: keystone => python-keystoneclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1462708

Title:
  Mismatch argument name for keystone create new user

Status in Python client library for Keystone:
  New

Bug description:
  Command to create new user:
  ~/devstack$ keystone help user-create
  /usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
    'python-keystoneclient.', DeprecationWarning)
  usage: keystone user-create --name <user-name> [--tenant <tenant>]
                              [--pass [<pass>]] [--email <email>]
                              [--enabled <true|false>]

  Create new user.

  Arguments:
    --name <user-name>    New user name (must be unique).
    --tenant <tenant>, --tenant-id <tenant>
                          New user default tenant.
    --pass [<pass>]       New user password; required for some auth backends.
    --email <email>       New user email address.
    --enabled <true|false>

  we have argument "--tenant " name while on horizon dashboard, we have
  field "Primary Project" with the same function meaning. I think we
  should change to same name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1462708/+subscriptions


References