fix openstack cli command in doc manual

openstack role create requires a positional argument name, not optional.

also this patch removes endpoint trailing /, it is redundant and I still
remember once ago there is a bug reported for such issue, which leading
to urls like http://localhost:8777//v2/meters: double slashes

Change-Id: I973a3f60d8bd8f2bc4f8aa9f19c2ce47cd8b8f18
This commit is contained in:
ZhiQiang Fan 2016-04-19 22:59:24 +08:00
parent 37bf21bfa7
commit 196a747745

View File

@ -336,7 +336,7 @@ Installing the Polling Agent
access to swift with ``ResellerAdmin`` role. You should give this
role to your ``os_username`` user for tenant ``os_tenant_name``::
$ openstack role create --name=ResellerAdmin
$ openstack role create ResellerAdmin
+-----------+----------------------------------+
| Field | Value |
+-----------+----------------------------------+
@ -411,9 +411,9 @@ Installing the API Server
$ openstack endpoint create $CEILOMETER_SERVICE \
--region RegionOne \
--publicurl "http://$SERVICE_HOST:8777/" \
--adminurl "http://$SERVICE_HOST:8777/" \
--internalurl "http://$SERVICE_HOST:8777/"
--publicurl "http://$SERVICE_HOST:8777" \
--adminurl "http://$SERVICE_HOST:8777" \
--internalurl "http://$SERVICE_HOST:8777"
.. note::