update some documents about the keystone "API v2.0"
As keystone has removed identity API v2.0,so update some related docs for more information,see [0] Change-Id: I2fcb090a80ed073241ecb4ab1d0778926a69b153
This commit is contained in:
parent
b8815031e5
commit
0e728eee7e
@ -35,7 +35,7 @@ expected_response = {"v1": "current", "build": "0.1.34dev"}
|
|||||||
|
|
||||||
# curl -XPOST -d '{"auth":{"passwordCredentials":{"username": "demo",
|
# curl -XPOST -d '{"auth":{"passwordCredentials":{"username": "demo",
|
||||||
# "password": "secret"}, "tenantName": "demo"}}'
|
# "password": "secret"}, "tenantName": "demo"}}'
|
||||||
# -H "Content-type: application/json" http://localhost:35357/v2.0/tokens
|
# -H "Content-type: application/json" http://localhost:5000/v3/tokens
|
||||||
#
|
#
|
||||||
# pull out the token_id from above and use in ping_barbican
|
# pull out the token_id from above and use in ping_barbican
|
||||||
#
|
#
|
||||||
|
@ -17,7 +17,7 @@ export OS_USERNAME="nova"
|
|||||||
# alternately service_token and endpoint
|
# alternately service_token and endpoint
|
||||||
|
|
||||||
#export OS_TOKEN=orange
|
#export OS_TOKEN=orange
|
||||||
#export OS_URL=http://localhost:35357/v2.0
|
#export OS_URL=http://localhost:5000/v3
|
||||||
# ========================================
|
# ========================================
|
||||||
|
|
||||||
echo " OS_URL="$OS_URL
|
echo " OS_URL="$OS_URL
|
||||||
@ -45,7 +45,7 @@ KEYSTONE_CATALOG_BACKEND='sql'
|
|||||||
SERVICE_PROJECT=$(openstack project show "$SERVICE_PROJECT_NAME" -f value -c id)
|
SERVICE_PROJECT=$(openstack project show "$SERVICE_PROJECT_NAME" -f value -c id)
|
||||||
ADMIN_ROLE=$(openstack role show admin -f value -c id)
|
ADMIN_ROLE=$(openstack role show admin -f value -c id)
|
||||||
|
|
||||||
# Ports to avoid: 3333, 5000, 8773, 8774, 8776, 9292, 9696, 35357
|
# Ports to avoid: 3333, 5000, 8773, 8774, 8776, 9292, 9696
|
||||||
# Barbican
|
# Barbican
|
||||||
if [[ "$ENABLED_SERVICES" =~ "barbican" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "barbican" ]]; then
|
||||||
#
|
#
|
||||||
|
@ -55,7 +55,7 @@ the get version call.
|
|||||||
project_name = {YOUR_KEYSTONE_PROJECT}
|
project_name = {YOUR_KEYSTONE_PROJECT}
|
||||||
project_domain_id = {YOUR_KEYSTONE_PROJECT_DOMAIN}
|
project_domain_id = {YOUR_KEYSTONE_PROJECT_DOMAIN}
|
||||||
www_authenticate_uri = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
www_authenticate_uri = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
||||||
auth_url = http://{YOUR_KEYSTONE_ENDPOINT}:35357/v3
|
auth_url = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
||||||
|
|
||||||
Alternatively, you can shorten this to
|
Alternatively, you can shorten this to
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ the get version call.
|
|||||||
project_name = {YOUR_KEYSTONE_PROJECT}
|
project_name = {YOUR_KEYSTONE_PROJECT}
|
||||||
project_domain_id = {YOUR_KEYSTONE_PROJECT_DOMAIN}
|
project_domain_id = {YOUR_KEYSTONE_PROJECT_DOMAIN}
|
||||||
www_authenticate_uri = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
www_authenticate_uri = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
||||||
auth_url = http://{YOUR_KEYSTONE_ENDPOINT}:35357/v3
|
auth_url = http://{YOUR_KEYSTONE_ENDPOINT}:5000/v3
|
||||||
|
|
||||||
3. Start Barbican ``{barbican_home}/bin/barbican.sh start``
|
3. Start Barbican ``{barbican_home}/bin/barbican.sh start``
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ to expose the following ports
|
|||||||
|
|
||||||
#. Barbican - ``9311``
|
#. Barbican - ``9311``
|
||||||
#. Keystone API - ``5000``
|
#. Keystone API - ``5000``
|
||||||
#. Keystone Admin API - ``35357``
|
#. Keystone Admin API - ``5000``
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
...
|
...
|
||||||
www_authenticate_uri = http://controller:5000
|
www_authenticate_uri = http://controller:5000
|
||||||
auth_url = http://controller:35357
|
auth_url = http://controller:5000
|
||||||
memcached_servers = controller:11211
|
memcached_servers = controller:11211
|
||||||
auth_type = password
|
auth_type = password
|
||||||
project_domain_name = default
|
project_domain_name = default
|
||||||
|
Loading…
Reference in New Issue
Block a user