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: https://docs.openstack.org/ocata/install-guide-obs/neutron-controller-install.html Change-Id: If7a703add8d378dc9184f50dcc6dea56e69b3876 Closes-Bug: #1698245
This commit is contained in:
parent
81d1dbe31e
commit
d435203e6c
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"context_is_admin": "role:admin",
|
||||
"owner": "tenant_id:%(tenant_id)s",
|
||||
"admin_or_owner": "rule:context_is_admin or rule:owner",
|
||||
"context_is_advsvc": "role:advsvc",
|
||||
|
|
|
@ -187,19 +187,19 @@ The pecan-wsgi service in the Neutron will be used as a reference code for Gluon
|
|||
Configuration
|
||||
~~~~~~~~~~~~~
|
||||
The /etc/proton/proton.conf file can be used to configure the authentication details. A sample
|
||||
configuration is shown below.
|
||||
configuration is shown below. Change 127.0.0.1 to your keystone endpoint.
|
||||
|
||||
[api]
|
||||
auth_strategy = keystone
|
||||
|
||||
[keystone_authentication]
|
||||
auth_uri = http://127.0.0.1/identity
|
||||
[keystone_authtoken]
|
||||
auth_uri = http://127.0.0.1:5000
|
||||
project_domain_name = Default
|
||||
project_name = service
|
||||
user_domain_name = Default
|
||||
password = welcome
|
||||
password = <password>
|
||||
username = gluon
|
||||
auth_url = http://127.0.0.1/identity_admin
|
||||
auth_url = http://127.0.0.1:35357
|
||||
auth_type = password
|
||||
|
||||
[oslo_policy]
|
||||
|
@ -207,25 +207,25 @@ configuration is shown below.
|
|||
|
||||
Appendix
|
||||
--------
|
||||
Configuring identity details for Keystone:
|
||||
Configuring identity details for Keystone, change 10.0.2.15 to your gluon endpoint:
|
||||
|
||||
1. Create gluon user:
|
||||
|
||||
> openstack user create --name gluon --pass <password>
|
||||
> openstack user create --password <password> gluon
|
||||
|
||||
2. Add the admin role to the gluon user:
|
||||
|
||||
> openstack user role add --user gluon --tenant service --role admin
|
||||
> openstack role add --project service --user gluon admin
|
||||
|
||||
3. Create the gluon service
|
||||
|
||||
> openstack service create --name gluon --type network --description "Gluon"
|
||||
> openstack service create --name gluon --description "Gluon" network
|
||||
|
||||
4. Create Gluon API endpoints
|
||||
|
||||
> openstack endpoint create —publicurl http://10.0.2.15:2705 \
|
||||
—adminurl http://10.0.2.15:2705 —internalurl http://10.0.2.15:2705 \
|
||||
—region regionOne gluon
|
||||
> openstack endpoint create --publicurl http://10.0.2.15:2705 \
|
||||
--adminurl http://10.0.2.15:2705 --internalurl http://10.0.2.15:2705 \
|
||||
--region regionOne gluon
|
||||
|
||||
Reference
|
||||
---------
|
||||
|
|
Loading…
Reference in New Issue