vitrage/devstack/settings
Eyal 17ee70a82f support uwsgi in devstack
This change allows to use uwsgi as web server.

Change-Id: Ib3a22e10c6f95ce387575ea5eeea0d97d6bfac1d
2017-06-28 17:06:35 +03:00

46 lines
1.4 KiB
Plaintext

# turn on all the vitrage services by default
# API service
enable_service vitrage-api
# Graph
enable_service vitrage-graph
# Notifier
enable_service vitrage-notifier
# Collector
enable_service vitrage-collector
# Default directories
VITRAGE_DIR=$DEST/vitrage
VITRAGE_CONF_DIR=/etc/vitrage
VITRAGE_CONF=$VITRAGE_CONF_DIR/vitrage.conf
VITRAGE_AUTH_CACHE_DIR=${VITRAGE_AUTH_CACHE_DIR:-/var/cache/vitrage}
VITRAGE_WSGI_DIR=${VITRAGE_WSGI_DIR:-/var/www/vitrage}
# Vitrage connection info.
VITRAGE_SERVICE_PROTOCOL=http
VITRAGE_SERVICE_HOST=$SERVICE_HOST
VITRAGE_SERVICE_PORT=${VITRAGE_SERVICE_PORT:-8999}
# VITRAGE_DEPLOY defines how Vitrage is deployed, allowed values:
# - mod_wsgi : Run Vitrage under Apache HTTPd mod_wsgi
# - simple : Run vitrage-api
# - uwsgi : Run Vitrage under uwsgi
# - <empty>: Fallback to VITRAGE_USE_MOD_WSGI or ENABLE_HTTPD_MOD_WSGI_SERVICES
VITRAGE_DEPLOY=${VITRAGE_DEPLOY}
# Toggle for deploying Vitrage with/without nagios
VITRAGE_USE_NAGIOS=$(trueorfalse False VITRAGE_USE_NAGIOS)
VITRAGE_DEFAULT_DATASOURCES=${VITRAGE_DEFAULT_DATASOURCES:-nova.host,nova.instance,nova.zone,nagios,static,static_physical,aodh,cinder.volume,neutron.network,neutron.port,heat.stack,doctor}
# Tell Tempest this project is present
TEMPEST_SERVICES+=,vitrage
# for now dont use pip install for the client
LIBS_FROM_GIT=python-vitrageclient
# admin details
admin_project_name=${ADMIN_TENANT_NAME:-admin}
admin_domain_name=${ADMIN_DOMAIN_NAME:-Default}