Merge "Replace deprecated configure_auth_token_middleware"

This commit is contained in:
Zuul 2024-11-16 03:57:22 +00:00 committed by Gerrit Code Review
commit 9f6382142c

View File

@ -96,7 +96,7 @@ function configure_zaqar {
iniset $ZAQAR_CONF 'drivers:transport:websocket' port $ZAQAR_WEBSOCKET_PORT iniset $ZAQAR_CONF 'drivers:transport:websocket' port $ZAQAR_WEBSOCKET_PORT
iniset $ZAQAR_CONF drivers transport websocket 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_type password
iniset $ZAQAR_CONF trustee auth_url $KEYSTONE_AUTH_URI iniset $ZAQAR_CONF trustee auth_url $KEYSTONE_AUTH_URI
@ -227,10 +227,8 @@ __EOF__
# init_zaqar() - Initialize etc. # init_zaqar() - Initialize etc.
function init_zaqar { function init_zaqar {
# Create cache dir # Nothing to do
sudo mkdir -p $ZAQAR_AUTH_CACHE_DIR :
sudo chown $STACK_USER $ZAQAR_AUTH_CACHE_DIR
rm -f $ZAQAR_AUTH_CACHE_DIR/*
} }
# install_zaqar() - Collect source and prepare # install_zaqar() - Collect source and prepare