Browse Source

Fix use of keystone endpoint URL

The OS_AUTH_URL variable is no longer used by devstack, it is setting
OS_CLOUD instead[0]. Use KEYSTONE_SERVICE_URI for the endpoint URL.

[0] https://review.opendev.org/c/openstack/devstack/+/780417

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Ib0737feed3bd82e395bd157cc48dde4b418ac544
changes/61/818461/1
Dr. Jens Harbott 6 months ago
parent
commit
199186f96c
No known key found for this signature in database
GPG Key ID: E7862B245C3596B1
  1. 4
      devstack/lib/rally

4
devstack/lib/rally

@ -44,7 +44,7 @@ OSPROFILER_CONNECTION_STRING=${OSPROFILER_CONNECTION_STRING:-""}
# Uses the following variables:
#
# - ``ADMIN_PASSWORD``, ``REGION_NAME``
# ``OS_AUTH_URL``
# ``KEYSTONE_SERVICE_URI``
# ``OSPROFILER_HMAC_KEYS`` - optional, for integration with osprofiler
# ``OSPROFILER_CONNECTION_STRING`` - optional, if this is set together with
# OSPROFILER_HMAC_KEYS rally html report will use osprofiler api to
@ -58,7 +58,7 @@ function _create_deployment_config() {
cat >$1 <<EOF
{
"openstack": {
"auth_url": "$OS_AUTH_URL",
"auth_url": "$KEYSTONE_SERVICE_URI",
"region_name": "$REGION_NAME",
"admin": {
"username": "admin",

Loading…
Cancel
Save