Replace deprecated configure_auth_token_middleware
It was deprecated some years ago by [1]. [1] https://review.opendev.org/628651 Change-Id: Ib7f11ef461b9a9b65eb2d342c6b635c98702d92c
This commit is contained in:
parent
75745a72ba
commit
e06a7cf139
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user