6c6d88d707
After some configuration changed, especially endpoint cache configuration, and with JW and JD replaced to kb-engine, the devstack scripts should be updated too. The database is re-created and sync-ed through cmd/manage.py Needs the patch https://review.openstack.org/#/c/305593/ to be merged for the devstack to work. bug: https://bugs.launchpad.net/kingbird/+bug/1569136 Change-Id: If92396b1620c06fe14b6ee8f8fd26a07f57fd276 Signed-off-by: Chaoyi Huang <joehuang@huawei.com>
24 lines
862 B
Plaintext
Executable File
24 lines
862 B
Plaintext
Executable File
# Git information
|
|
KINGBIRD_REPO=${KINGBIRD_REPO:-https://git.openstack.org/cgit/openstack/kingbird/}
|
|
KINGBIRD_DIR=$DEST/kingbird
|
|
KINGBIRD_BRANCH=${KINGBIRD_BRANCH:-master}
|
|
|
|
# common variables
|
|
KINGBIRD_CONF_DIR=${KINGBIRD_CONF_DIR:-/etc/kingbird}
|
|
KINGBIRD_CONF=$KINGBIRD_CONF_DIR/kingbird.conf
|
|
|
|
# kingbird engine service
|
|
KINGBIRD_ENGINE=$KINGBIRD_DIR/kingbird/cmd/engine.py
|
|
KINGBIRD_ENGINE_LISTEN_ADDRESS=${KINGBIRD_JD_LISTEN_ADDRESS:-0.0.0.0}
|
|
|
|
# Kingbird rest api
|
|
KINGBIRD_API=$KINGBIRD_DIR/kingbird/cmd/api.py
|
|
KINGBIRD_API_LISTEN_ADDRESS=${KINGBIRD_API_LISTEN_ADDRESS:-0.0.0.0}
|
|
KINGBIRD_API_HOST=${KINGBIRD_API_HOST:-$SERVICE_HOST}
|
|
KINGBIRD_API_PORT=${KINGBIRD_API_PORT:-8118}
|
|
KINGBIRD_API_PROTOCOL=${KINGBIRD_API_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
KINGBIRD_AUTH_CACHE_DIR=${KINGBIRD_AUTH_CACHE_DIR:-/var/cache/kingbird}
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$KINGBIRD_DIR
|