Set authtoken_middleware interface to "public"

Since [1], in Vitoria the default value of "interface" is "internal".
When executing the grenade jobs using the Ussuri devstack branch,
the interface is not explicitly set. When keystonemiddleware is bumped
to version 9.1.0, the defaul value of this config knob changes.

During the grenade upgrade, the project config options do not change
this value. That leads to the following error:
  keystoneauth1.exceptions.catalog.EndpointNotFound: internal endpoint
    for identity service not found

[1]https://review.opendev.org/#/c/662734

Change-Id: Ifc2992774d53303acd554b6b847ea55de8e94374
Closes-Bug: #1890297
This commit is contained in:
Rodolfo Alonso Hernandez
2020-08-04 16:37:34 +00:00
parent 1e46c73fc0
commit f8a6eac9b5

View File

@@ -413,6 +413,7 @@ function configure_keystone_authtoken_middleware {
local section=${3:-keystone_authtoken}
iniset $conf_file $section auth_type password
iniset $conf_file $section interface public
iniset $conf_file $section auth_url $KEYSTONE_SERVICE_URI
iniset $conf_file $section username $admin_user
iniset $conf_file $section password $SERVICE_PASSWORD