← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462858] [NEW] Missing role argument when create new user in CLI

 

Public bug reported:

On horizon dashboard, we have mandatory field  "Role" for creating new
user. However, using CLI to create new user that doesn't have argument
for "Role" option. I think we should update for this.

~/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>

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Missing role argument when create new user in CLI

Status in OpenStack Identity (Keystone):
  New

Bug description:
  On horizon dashboard, we have mandatory field  "Role" for creating new
  user. However, using CLI to create new user that doesn't have argument
  for "Role" option. I think we should update for this.

  ~/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>

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1462858/+subscriptions


Follow ups

References