Incorrect commands for adding Gluon service to Keystone

Bug #1698245 reported by Jin Li
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Jin Li

Bug Description

The instructions in the appendix of doc/source/devref/gluon-auth.rst, adding Gluon service to Keystone are incorrect. Here is an example of the error:

ubuntu@Devstack:~/devstack$ openstack user create --name gluon --pass <pw>
usage: openstack user create [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>] [--noindent]
                             [--prefix PREFIX] [--project <project>]
                             [--password <password>] [--password-prompt]
                             [--email <email-address>] [--enable | --disable]
openstack user create: error: ambiguous option: --pass could match --password, --password-prompt

ubuntu@Devstack:~/devstack$ openstack user role add --user gluon --tenant service --role admin
openstack: 'user' is not an openstack command. See 'openstack --help'.
Did you mean one of these?
  user create
  user delete
  user list
  user role list
  user set
  user show
  router create
  router delete
  router list
  router set
  router show
  subnet delete
  subnet list
  subnet pool delete
  subnet pool list
  subnet pool show
  subnet show

ubuntu@Devstack:~/devstack$ openstack service create --name gluon --type network --description "Gluon"
usage: openstack service create [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX] [--name <name>]
                                [--description <description>]
openstack service create: error: argument --type: not allowed with argument --name

ubuntu@Devstack:~/devstack$ openstack endpoint create —publicurl \
> —adminurl —internalurl \
> —region regionOne gluon
Traceback (most recent call last):
  File "/usr/local/bin/openstack", line 11, in <module>
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/", line 450, in main
    argv = map(lambda arg: arg.decode(encoding), argv)
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/", line 450, in <lambda>
    argv = map(lambda arg: arg.decode(encoding), argv)

Jin Li (jl7351)
Changed in python-gluon:
assignee: nobody → Jin Li (jl7351)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gluon (master)

Fix proposed to branch: master

Changed in python-gluon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gluon (master)

Submitter: Jenkins
Branch: master

commit d435203e6c4e5e62f65bc2c29a4e555f116a4d20
Author: JinLi <email address hidden>
Date: Thu Jun 15 17:05:47 2017 -0700

    Fix incorrect commands adding Gluon service to Keystone

    The commands in appendix of gluon-auth.rst are not right and
    cause errors when running in terminal. The changes reference
    ocata doc:

    Change-Id: If7a703add8d378dc9184f50dcc6dea56e69b3876
    Closes-Bug: #1698245

Changed in python-gluon:
status: In Progress → Fix Released
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.