aodh/devstack/settings
ZhiQiang Fan 85c207fe52 [Trivial] Remove AODH_API_LOG_DIR option for devstack
This option is used for aodh-api when AODH_DEPLOY=werkzeug,
and create a dedicate directory for aodh-api log.

However, there is no such need, because for such case, aodh-api
is just a normal process like aodh-evaluator. We should let
oslo.log decide where to store the log, image that user configures
a path and we override in installation process, then he needs to hack
into screenrc to adjust the path, it is not friendly.

Here I propose to put the api log files in same directory as
aodh-evaluator, by default, it will be /opt/stack/logs.

Change-Id: If758cb7ddcc0087ed495721eeccf4723900e2ef3
2016-04-28 03:35:13 +08:00

46 lines
1.2 KiB
Plaintext

# turn on all the aodh services by default
# API service
enable_service aodh-api
# Alarming
enable_service aodh-notifier aodh-evaluator
# Listener for Event Alarming
enable_service aodh-listener
# Default directories
AODH_DIR=$DEST/aodh
AODH_CONF_DIR=/etc/aodh
AODH_CONF=$AODH_CONF_DIR/aodh.conf
AODH_AUTH_CACHE_DIR=${AODH_AUTH_CACHE_DIR:-/var/cache/aodh}
AODH_WSGI_DIR=${AODH_WSGI_DIR:-/var/www/aodh}
# Set up database backend
AODH_BACKEND=${AODH_BACKEND:-mysql}
# Aodh connection info.
AODH_SERVICE_PROTOCOL=http
AODH_SERVICE_HOST=$SERVICE_HOST
AODH_SERVICE_PORT=${AODH_SERVICE_PORT:-8042}
# AODH_DEPLOY defines how Aodh is deployed, allowed values:
# - mod_wsgi : Run Aodh under Apache HTTPd mod_wsgi
# - werkzeug : Run aodh-api
# - uwsgi : Run Aodh under uwsgi
# - <empty>: Fallback to AODH_USE_MOD_WSGI or ENABLE_HTTPD_MOD_WSGI_SERVICES
AODH_DEPLOY=${AODH_DEPLOY}
AODH_NOTIFICATION_TOPICS=${AODH_NOTIFICATION_TOPICS:-notifications}
AODH_COORDINATION_URL=${AODH_COORDINATION_URL:-}
# Tell Tempest this project is present
TEMPEST_SERVICES+=,aodh
# Set up default directories for client
GITDIR["python-aodhclient"]=$DEST/python-aodhclient
# Get rid of this before done.
# Tell emacs to use shell-script-mode
## Local variables:
## mode: shell-script
## End: