2015-09-08 13:52:34 +08:00
|
|
|
# Devstack settings
|
|
|
|
|
2016-03-11 16:00:48 +03:00
|
|
|
# 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
|
2015-09-08 13:52:34 +08:00
|
|
|
|
2016-03-11 16:00:48 +03:00
|
|
|
|
2016-07-01 22:06:09 +12:00
|
|
|
enable_service mistral mistral-api mistral-engine mistral-executor mistral-event-engine
|
2015-11-15 23:12:52 +05:30
|
|
|
|
|
|
|
|
|
|
|
# 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}
|
2017-08-02 07:02:40 -04:00
|
|
|
MISTRAL_DASHBOARD_BRANCH=${MISTRAL_DASHBOARD_BRANCH:-master}
|
2015-11-15 23:12:52 +05:30
|
|
|
|
|
|
|
MISTRAL_PYTHONCLIENT_REPO=${MISTRAL_PYTHONCLIENT_REPO:-${GIT_BASE}/openstack/python-mistralclient.git}
|
2015-11-25 17:07:52 +03:00
|
|
|
MISTRAL_PYTHONCLIENT_BRANCH=${MISTRAL_PYTHONCLIENT_BRANCH:-master}
|
2015-11-15 23:12:52 +05:30
|
|
|
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}
|
2017-07-09 18:12:58 +03:00
|
|
|
MISTRAL_AUTH_CACHE_DIR=${MISTRAL_AUTH_CACHE_DIR:-/var/cache/mistral}
|
2015-11-15 23:12:52 +05:30
|
|
|
|
|
|
|
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}
|
|
|
|
|