From 538e663f0da6f0d630fc47a7cf738b188caa660b Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Mon, 1 Jul 2019 13:50:33 +0200 Subject: [PATCH] Switch to use configure_keystone_authtoken_middleware in devstack plugin Function "configure_auth_token_middleware" was deprecated in devstack in [1]. Patch [1] also introduced regression which cause failures in neutron's neutron-tempest-plugin-designate-scenario job. New function configure_keystone_authtoken_middleware should be used instead. This patch switches to use this new function to solve problem caused by patch [1] when old function is used. [1] https://review.opendev.org/#/c/628651/ Change-Id: I96d69bc7a1489377b5e95965e95dc3d3f2f3a933 Closes-Bug: #1834849 --- devstack/lib/dns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/dns b/devstack/lib/dns index 97fa01ee387..651c6881a61 100644 --- a/devstack/lib/dns +++ b/devstack/lib/dns @@ -4,7 +4,7 @@ function configure_dns_extension { function configure_dns_integration { iniset $NEUTRON_CONF DEFAULT external_dns_driver designate iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/v2" - configure_auth_token_middleware $NEUTRON_CONF designate $NEUTRON_AUTH_CACHE_DIR designate + configure_keystone_authtoken_middleware $NEUTRON_CONF designate designate } function post_config_dns_extension { iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local