Merge "Replace deprecated configure_auth_token_middleware"
This commit is contained in:
commit
a25d9c8c58
@ -64,10 +64,6 @@ function mkdir_chown_stack {
|
|||||||
# configure_mistral - Set config files, create data dirs, etc
|
# configure_mistral - Set config files, create data dirs, etc
|
||||||
function configure_mistral {
|
function configure_mistral {
|
||||||
|
|
||||||
# create and clean up auth cache dir
|
|
||||||
mkdir_chown_stack "$MISTRAL_AUTH_CACHE_DIR"
|
|
||||||
rm -f "$MISTRAL_AUTH_CACHE_DIR"/*
|
|
||||||
|
|
||||||
mkdir_chown_stack "$MISTRAL_CONF_DIR"
|
mkdir_chown_stack "$MISTRAL_CONF_DIR"
|
||||||
|
|
||||||
# Generate Mistral configuration file and configure common parameters.
|
# Generate Mistral configuration file and configure common parameters.
|
||||||
@ -81,7 +77,7 @@ function configure_mistral {
|
|||||||
#-------------------------
|
#-------------------------
|
||||||
|
|
||||||
# Setup keystone_authtoken section
|
# Setup keystone_authtoken section
|
||||||
configure_auth_token_middleware $MISTRAL_CONF_FILE mistral $MISTRAL_AUTH_CACHE_DIR
|
configure_keystone_authtoken_middleware $MISTRAL_CONF_FILE mistral
|
||||||
iniset $MISTRAL_CONF_FILE keystone_authtoken www_authenticate_uri $KEYSTONE_AUTH_URI_V3
|
iniset $MISTRAL_CONF_FILE keystone_authtoken www_authenticate_uri $KEYSTONE_AUTH_URI_V3
|
||||||
|
|
||||||
# Setup RabbitMQ credentials
|
# Setup RabbitMQ credentials
|
||||||
|
@ -37,7 +37,6 @@ MISTRAL_DASHBOARD_DIR=${DEST}/mistral-dashboard
|
|||||||
MISTRAL_CONF_DIR=${MISTRAL_CONF_DIR:-/etc/mistral}
|
MISTRAL_CONF_DIR=${MISTRAL_CONF_DIR:-/etc/mistral}
|
||||||
MISTRAL_CONF_FILE=${MISTRAL_CONF_DIR}/mistral.conf
|
MISTRAL_CONF_FILE=${MISTRAL_CONF_DIR}/mistral.conf
|
||||||
MISTRAL_DEBUG=${MISTRAL_DEBUG:-True}
|
MISTRAL_DEBUG=${MISTRAL_DEBUG:-True}
|
||||||
MISTRAL_AUTH_CACHE_DIR=${MISTRAL_AUTH_CACHE_DIR:-/var/cache/mistral}
|
|
||||||
|
|
||||||
MISTRAL_SERVICE_HOST=${MISTRAL_SERVICE_HOST:-$SERVICE_HOST}
|
MISTRAL_SERVICE_HOST=${MISTRAL_SERVICE_HOST:-$SERVICE_HOST}
|
||||||
MISTRAL_SERVICE_PORT=${MISTRAL_SERVICE_PORT:-8989}
|
MISTRAL_SERVICE_PORT=${MISTRAL_SERVICE_PORT:-8989}
|
||||||
|
Loading…
Reference in New Issue
Block a user