aodh/devstack/settings
Takashi Kajinami 1c4761ecca Revert "Disable GLOBAL_VENV"
This reverts commit 8de7585f37.

Reason for revert:
Current devstack disables GLOBAL_VENV automatically in CentOS or Rocky
so we don't have to override the option. GLOBAL_VENV=True is required
to migrate the jobs to Ubuntu 24.04 (Noble) .

This also changes the default API deployment method to uwsgi because
uwsgi is now globally used in CI and only works for global venv
method.

Conflicts:
	.zuul.yaml

Change-Id: Iec6ab6b4fcdb60caa67197acb5ada0678c0309ce
2024-10-17 00:27:14 +09:00

43 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
# - simple : Run aodh-api
# - uwsgi : Run Aodh under uwsgi
AODH_DEPLOY=${AODH_DEPLOY:-uwsgi}
AODH_NOTIFICATION_TOPICS=${AODH_NOTIFICATION_TOPICS:-notifications}
AODH_COORDINATION_URL=${AODH_COORDINATION_URL:-}
# Set up default directories for client
GITDIR["python-aodhclient"]=$DEST/python-aodhclient
GITREPO["python-aodhclient"]=$GIT_BASE/openstack/python-aodhclient.git
# Get rid of this before done.
# Tell emacs to use shell-script-mode
## Local variables:
## mode: shell-script
## End: