Fix the openstack endpoint create failed

1. Update the openstack command
2. Update the volume to volumev2

Change-Id: I26bf8b0b53d8ecfbfe7d43d8e92fba22f502d82f
This commit is contained in:
caoyuan 2018-04-25 11:00:46 +08:00
parent 889feb07dd
commit 84562964b9
1 changed files with 6 additions and 4 deletions

View File

@ -183,8 +183,10 @@ and define your endpoint. For example:
.. code-block:: console
$ openstack endpoint create volume --region $KEYSTONE_REGION \
--publicurl 'http://PUBLIC_VIP:8776/v1/%(tenant_id)s' \
--adminurl 'http://10.0.0.11:8776/v1/%(tenant_id)s' \
--internalurl 'http://10.0.0.11:8776/v1/%(tenant_id)s'
$ openstack endpoint create --region $KEYSTONE_REGION \
volumev2 public http://PUBLIC_VIP:8776/v2/%\(project_id\)s
$ openstack endpoint create --region $KEYSTONE_REGION \
volumev2 admin http://10.0.0.11:8776/v2/%\(project_id\)s
$ openstack endpoint create --region $KEYSTONE_REGION \
volumev2 internal http://10.0.0.11:8776/v2/%\(project_id\)s