[docs] Fix several deployment configs

Change-Id: I9ff455682270ae4686f901ee703094c484039ffc
This commit is contained in:
Andrey Kurilin 2018-02-13 19:19:26 +02:00
parent c7d77eb73d
commit 3f37cbf4dd
2 changed files with 27 additions and 30 deletions

View File

@ -51,14 +51,11 @@ add the HMAC key with the following :
.. code-block:: json .. code-block:: json
{ {
"type": "ExistingCloud",
"creds": {
"openstack": { "openstack": {
[...] [...]
"profiler_hmac_key": "SECRET_KEY" "profiler_hmac_key": "SECRET_KEY"
} }
} }
}
Getting the full trace Getting the full trace

View File

@ -41,16 +41,15 @@ Registering deployment with existing users in Rally
The information about existing users in your OpenStack cloud should be passed The information about existing users in your OpenStack cloud should be passed
to Rally at the to Rally at the
:ref:`deployment initialization step <tutorial_step_1_setting_up_env_and_running_benchmark_from_samples>`. :ref:`deployment initialization step <tutorial_step_1_setting_up_env_and_running_benchmark_from_samples>`.
You have to use the **ExistingCloud** deployment plugin that just provides The difference from the deployment configuration we've seen previously is that
Rally with credentials of an already existing cloud. The difference from the you should set up the *"users"* section with the credentials of already
deployment configuration we've seen previously is that you should set up the existing users. Let's call this deployment configuration file
*"users"* section with the credentials of already existing users. Let's call *existing_users.json*:
this deployment configuration file *existing_users.json*:
.. code-block:: json .. code-block:: json
{ {
"type": "ExistingCloud", "openstack": {
"auth_url": "http://example.net:5000/v2.0/", "auth_url": "http://example.net:5000/v2.0/",
"region_name": "RegionOne", "region_name": "RegionOne",
"endpoint_type": "public", "endpoint_type": "public",
@ -72,6 +71,7 @@ this deployment configuration file *existing_users.json*:
} }
] ]
} }
}
This deployment configuration requires some basic information about the This deployment configuration requires some basic information about the
OpenStack cloud like the region name, auth url. admin user credentials, and any OpenStack cloud like the region name, auth url. admin user credentials, and any
@ -81,7 +81,7 @@ it as usual:
.. code-block:: console .. code-block:: console
$ rally deployment create --file existings_users --name our_cloud $ rally deployment create --file existing_users --name our_cloud
+--------------------------------------+----------------------------+-----------+------------------+--------+ +--------------------------------------+----------------------------+-----------+------------------+--------+
| uuid | created_at | name | status | active | | uuid | created_at | name | status | active |
+--------------------------------------+----------------------------+-----------+------------------+--------+ +--------------------------------------+----------------------------+-----------+------------------+--------+