Use the versionless URL for trove auth_url

Using a URL with a version makes Trove fail when a client request
is initiated, with an error like:

"ERROR keystonemiddleware.auth_token [-] Bad response code while
validating token: 400: BadRequest: Expecting to find domain in project."

Change-Id: I1ed56600ea42818283ef40a576dba64bd3a41a1d
This commit is contained in:
Javier Pena 2017-11-22 18:49:24 +01:00
parent 1989771673
commit 030cb352bb
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class packstack::trove ()
class { '::trove::keystone::authtoken':
password => hiera('CONFIG_TROVE_KS_PW'),
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL_VERSIONLESS'),
}
class { '::trove::api':
@ -24,13 +24,13 @@ class packstack::trove ()
}
class { '::trove::conductor':
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL_VERSIONLESS'),
debug => hiera('CONFIG_DEBUG_MODE'),
workers => hiera('CONFIG_SERVICE_WORKERS'),
}
class { '::trove::taskmanager':
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
auth_url => hiera('CONFIG_KEYSTONE_PUBLIC_URL_VERSIONLESS'),
debug => hiera('CONFIG_DEBUG_MODE'),
}
}