From e06a7cf139451c1dcafeaff1ddb17ce7c8c96700 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 15 Nov 2024 11:08:32 +0900 Subject: [PATCH] Replace deprecated configure_auth_token_middleware It was deprecated some years ago by [1]. [1] https://review.opendev.org/628651 Change-Id: Ib7f11ef461b9a9b65eb2d342c6b635c98702d92c --- devstack/plugin.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f44169f71..3a3bac32f 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -96,7 +96,7 @@ function configure_zaqar { iniset $ZAQAR_CONF 'drivers:transport:websocket' port $ZAQAR_WEBSOCKET_PORT iniset $ZAQAR_CONF drivers transport websocket - configure_auth_token_middleware $ZAQAR_CONF zaqar $ZAQAR_AUTH_CACHE_DIR + configure_keystone_authtoken_middleware $ZAQAR_CONF zaqar iniset $ZAQAR_CONF trustee auth_type password iniset $ZAQAR_CONF trustee auth_url $KEYSTONE_AUTH_URI @@ -227,10 +227,8 @@ __EOF__ # init_zaqar() - Initialize etc. function init_zaqar { - # Create cache dir - sudo mkdir -p $ZAQAR_AUTH_CACHE_DIR - sudo chown $STACK_USER $ZAQAR_AUTH_CACHE_DIR - rm -f $ZAQAR_AUTH_CACHE_DIR/* + # Nothing to do + : } # install_zaqar() - Collect source and prepare