panko/devstack/settings
ZhongShengping 0bbaa20089 Fix the port for Panko API in devstack
The port used for Panko in devstack is conflicts with Trove[1].
The 8777 port has been occupied by ceilometer. So set the panko
api port to 8977.

[1]https://github.com/openstack/trove/blob/master/devstack/plugin.sh#L61

Change-Id: If6621a6bd1c6a5486d85ee33ec0760c8bbe1f860
Closes-Bug: #1696613
2017-06-08 09:12:08 +08:00

33 lines
911 B
Plaintext

enable_service panko-api
# Default directories
PANKO_DIR=$DEST/panko
PANKO_CONF_DIR=/etc/panko
PANKO_CONF=$PANKO_CONF_DIR/panko.conf
PANKO_AUTH_CACHE_DIR=${PANKO_AUTH_CACHE_DIR:-/var/cache/panko}
PANKO_WSGI_DIR=${PANKO_WSGI_DIR:-/var/www/panko}
# Set up database backend
PANKO_BACKEND=${PANKO_BACKEND:-mysql}
# Panko connection info.
PANKO_SERVICE_PROTOCOL=http
PANKO_SERVICE_HOST=$SERVICE_HOST
PANKO_SERVICE_PORT=${PANKO_SERVICE_PORT:-8977}
# PANKO_DEPLOY defines how Panko is deployed, allowed values:
# - mod_wsgi: Run Panko under Apache HTTPd mod_wsgi
# - simple: Run panko-api
# - uwsgi: Run Panko under uwsgi
# - <empty>: Fallback to PANKO_USE_MOD_WSGI or ENABLE_HTTPD_MOD_WSGI_SERVICES
PANKO_DEPLOY=${PANKO_DEPLOY}
# Tell Tempest this project is present
TEMPEST_SERVICES+=,panko
# Get rid of this before done.
# Tell emacs to use shell-script-mode
## Local variables:
## mode: shell-script
## End: