700366e4b6
Currently Mistral has own configuration for keystone
auth middleware, many parameters of which are deprecated [1].
It's not desired behavior and it is suggested to use recommended
devstack configuration function to prevent possible errors if
something is changed in keystone deployment in the future.
This patch fixes this situation and implements official
"configure_auth_token_middleware" function support.
[1] 712438ebf9/keystonemiddleware/auth_token/_auth.py (L29-L35)
Change-Id: I5f50ca6b773b61c35f93488e64a1b95d3ace9c2c
Closes-bug: #1697662
40 lines
1.7 KiB
Plaintext
40 lines
1.7 KiB
Plaintext
# Devstack settings
|
|
|
|
# We have to add Mistral to enabled services for run_process to work
|
|
# "mistral" should be always enabled
|
|
# To run services in separate processes and screens need to write:
|
|
# enable_service mistral mistral-api mistral-engine mistral-executor
|
|
# To run all services in one screen as a one process need to write:
|
|
# enable_service mistral
|
|
# All other combinations of services like 'mistral mistral-api' or 'mistral mistral-api mistral-engine'
|
|
# is an incorrect way to run services and all services by default will run in one screen
|
|
|
|
|
|
enable_service mistral mistral-api mistral-engine mistral-executor mistral-event-engine
|
|
|
|
|
|
# Set up default repos
|
|
MISTRAL_REPO=${MISTRAL_REPO:-${GIT_BASE}/openstack/mistral.git}
|
|
MISTRAL_BRANCH=${MISTRAL_BRANCH:-master}
|
|
MISTRAL_DASHBOARD_REPO=${MISTRAL_DASHBOARD_REPO:-${GIT_BASE}/openstack/mistral-dashboard.git}
|
|
MISTRAL_DASHBOARD_BRANCH=${MISTRAL_DASHBOARD_BRANCH:-$MISTRAL_BRANCH}
|
|
|
|
MISTRAL_PYTHONCLIENT_REPO=${MISTRAL_PYTHONCLIENT_REPO:-${GIT_BASE}/openstack/python-mistralclient.git}
|
|
MISTRAL_PYTHONCLIENT_BRANCH=${MISTRAL_PYTHONCLIENT_BRANCH:-master}
|
|
MISTRAL_PYTHONCLIENT_DIR=$DEST/python-mistralclient
|
|
|
|
# Set up default directories
|
|
MISTRAL_DIR=$DEST/mistral
|
|
MISTRAL_DASHBOARD_DIR=$DEST/mistral-dashboard
|
|
MISTRAL_CONF_DIR=${MISTRAL_CONF_DIR:-/etc/mistral}
|
|
MISTRAL_CONF_FILE=${MISTRAL_CONF_DIR}/mistral.conf
|
|
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_PORT=${MISTRAL_SERVICE_PORT:-8989}
|
|
MISTRAL_SERVICE_PROTOCOL=${MISTRAL_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
MISTRAL_ADMIN_USER=${MISTRAL_ADMIN_USER:-mistral}
|
|
|