236a7f2f7d
For implemetation of ha gate and ha/destructive scenarios it would be better to run mistral services in separate processes to easily manage them. Change-Id: I85ec81d11a2ecef5a256f93526d8c8498f2ebae0 Partially-implements: blueprint mistral-ha-gate
39 lines
1.6 KiB
Plaintext
39 lines
1.6 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
|
|
|
|
|
|
# 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_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}
|
|
|