18.2. Configure the OpenStack Benchmarking Service


When you have successfully installed the Benchmarking service, you need to configure the Benchmarking service environment by providing the service access to your OpenStack deployment.

Procedure 18.2. Confifuring the OpenStack Benchmarking Service

  1. Export the OpenStack environment variables with the proper credentials. The credentials are as follows:
    # export OS_USERNAME=admin
    # export OS_PROJECT_NAME=admin
    # export OS_PASSWORD=
    # export OS_AUTH_URL=http://IP:35357/v2
    Copy to Clipboard Toggle word wrap
  2. Add the existing Red Hat OpenStack environment to the Benchmarking service database. Create a Benchmarking service deployment json file labeled osp-deployment.json:
    {
      "type": "ExistingCloud",
        "auth_url": "http://DEPLOYMENT_IP:35357/v2.0/",
        "region_name": "RegionOne",
      "endpoint_type": "public",
        "admin": {
            "username": "admin",
            "password": "********",
            "tenant_name": "admin"
        },
        "users": [
            {
                "username": "admin",
                "password": "*****",
                "tenant_name": "admin"
            }
        ]
    }
    Copy to Clipboard Toggle word wrap
  3. (Optional) If creating additional users outside of rally and adding them to the osp-deployment.json file, take a look at 1175432 for a known race condition.
  4. Add the existing OpenStack deployment to the rally database. The following example names the entry RA_Rally and captures all the appropriate credentials required within the osp-deployment.json file:
    # rally deployment create --name RA-Rally --file osp-deployment.json
    --------------------------+----------------------------+----------+------------------+--------+
    | uuid                    | created_at                 | name     | status           | active |
    +-------------------------+----------------------------+----------+------------------+--------+
    | 496e3be9-6020-4543-82f6-e7eb90517153 | 2015-05-12 15:18:13.817669 | RA-Rally | deploy->finished |    |
    +-------------------------+----------------------------+----------+------------------+--------+
    
    Using deployment: 496e3be9-6020-4543-82f6-e7eb90517153
    ~/.rally/openrc was updated
    [ ... Output Abbreviated ... ]
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top