Merge "Installation document improvement"
This commit is contained in:
commit
9ccfdcb223
|
@ -77,11 +77,11 @@ A database, service credentials, and API endpoints must be created.
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator public http://<cyborg-ip>/accelerator/v1
|
accelerator public http://<cyborg-ip>/accelerator/v2
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator internal http://<cyborg-ip>/accelerator/v1
|
accelerator internal http://<cyborg-ip>/accelerator/v2
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator admin http://<cyborg-ip>/accelerator/v1
|
accelerator admin http://<cyborg-ip>/accelerator/v2
|
||||||
..
|
..
|
||||||
|
|
||||||
* Otherwise, if cyborg-api service is running as a python process, create
|
* Otherwise, if cyborg-api service is running as a python process, create
|
||||||
|
@ -90,11 +90,11 @@ A database, service credentials, and API endpoints must be created.
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator public http://<cyborg-ip>:6666/v1
|
accelerator public http://<cyborg-ip>:6666/v2
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator internal http://<cyborg-ip>:6666/v1
|
accelerator internal http://<cyborg-ip>:6666/v2
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
accelerator admin http://<cyborg-ip>:6666/v1
|
accelerator admin http://<cyborg-ip>:6666/v2
|
||||||
..
|
..
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -120,6 +120,11 @@ Configure Cyborg
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
[api]
|
||||||
|
host_ip = 0.0.0.0
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://%DATABASE_USER%:%DATABASE_PASSWORD%@%OPENSTACK_HOST_IP%/cyborg
|
connection = mysql+pymysql://%DATABASE_USER%:%DATABASE_PASSWORD%@%OPENSTACK_HOST_IP%/cyborg
|
||||||
|
|
||||||
|
@ -149,6 +154,18 @@ Configure Cyborg
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
[nova]
|
||||||
|
project_domain_name = Default
|
||||||
|
project_name = service
|
||||||
|
user_domain_name = Default
|
||||||
|
password = password
|
||||||
|
username = nova
|
||||||
|
auth_url = http://%OPENSTACK_HOST_IP%/identity
|
||||||
|
auth_type = password
|
||||||
|
auth_section = keystone_authtoken
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
memcached_servers = localhost:11211
|
memcached_servers = localhost:11211
|
||||||
signing_dir = /var/cache/cyborg/api
|
signing_dir = /var/cache/cyborg/api
|
||||||
|
|
Loading…
Reference in New Issue