Fix the openstack endpoint create failed
Change-Id: Ie9b95c688dfacd118a1eebed587b015065866210
This commit is contained in:
parent
ca0c116a98
commit
7ed8ebf90d
@ -40,14 +40,18 @@ Local endpoint example:
|
||||
.. sourcecode:: console
|
||||
|
||||
$ openstack service create --name sahara_local --description \
|
||||
"Sahara Data Processing (local installation)" \
|
||||
data_processing_local
|
||||
"Sahara Data Processing (local installation)" \
|
||||
data_processing_local
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
--publicurl http://127.0.0.1:8386/v1.1/%\(project_id\)s \
|
||||
--adminurl http://127.0.0.1:8386/v1.1/%\(project_id\)s \
|
||||
--internalurl http://127.0.0.1:8386/v1.1/%\(project_id\)s \
|
||||
data_processing_local
|
||||
data_processing_local public http://127.0.0.1:8386/v1.1/%\(project_id\)s
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
data_processing_local internal http://127.0.0.1:8386/v1.1/%\(project_id\)s
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
data_processing_local admin http://127.0.0.1:8386/v1.1/%\(project_id\)s
|
||||
|
||||
..
|
||||
|
||||
Then the endpoint name should be changed in ``sahara.py`` under the module of
|
||||
|
@ -207,13 +207,16 @@ Then restart the mysql server to ensure these changes are active.
|
||||
.. sourcecode:: console
|
||||
|
||||
$ openstack service create --name sahara --description \
|
||||
"Sahara Data Processing" data-processing
|
||||
"Sahara Data Processing" data-processing
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
--publicurl http://10.0.0.2:8386/v1.1/%\(project_id\)s \
|
||||
--adminurl http://10.0.0.2:8386/v1.1/%\(project_id\)s \
|
||||
--internalurl http://10.0.0.2:8386/v1.1/%\(project_id\)s \
|
||||
data-processing
|
||||
data-processing public http://10.0.0.2:8386/v1.1/%\(project_id\)s
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
data-processing internal http://10.0.0.2:8386/v1.1/%\(project_id\)s
|
||||
|
||||
$ openstack endpoint create --region RegionOne \
|
||||
data-processing admin http://10.0.0.2:8386/v1.1/%\(project_id\)s
|
||||
|
||||
.. note::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user