d252f59b6e
This adds support for the elasticsearch v2 storage driver to the devstack plugin. Two non-voting check jobs running a the tempest test suite against a devstack deployment using the elasticsearch driver have also been added. Story: 2006332 Task: 36078 Task: 36080 Change-Id: Ib531f83e2c8e5c2494b36af250d7630e32f49f40
79 lines
3.4 KiB
Plaintext
79 lines
3.4 KiB
Plaintext
# turn on the CloudKitty services by default
|
|
enable_service ck-api
|
|
enable_service ck-proc
|
|
|
|
# Defaults
|
|
# Set up default directories
|
|
# --------------------------
|
|
|
|
CLOUDKITTY_DIR=$DEST/cloudkitty
|
|
CLOUDKITTY_CONF_DIR=/etc/cloudkitty
|
|
CLOUDKITTY_CONF=$CLOUDKITTY_CONF_DIR/cloudkitty.conf
|
|
CLOUDKITTY_API_LOG_DIR=/var/log/cloudkitty
|
|
CLOUDKITTY_WSGI_DIR=${CLOUDKITTY_WSGI_DIR:-/var/www/cloudkitty}
|
|
CLOUDKITTY_AUTH_CACHE_DIR=${CLOUDKITTY_AUTH_CACHE_DIR:-/var/cache/cloudkitty}
|
|
CLOUDKITTY_DATA_DIR=${CLOUDKITTY_DATA_DIR:-/var/lib/cloudkitty}
|
|
CLOUDKITTY_REPORTS_DIR=${DATA_DIR}/cloudkitty/reports
|
|
CLOUDKITTY_AUTH_STRATEGY=keystone
|
|
|
|
# Horizon enabled file
|
|
CLOUDKITTY_DASHBOARD=$DEST/cloudkitty-dashboard/cloudkittydashboard
|
|
CLOUDKITTY_ENABLED_DIR=${CLOUDKITTY_ENABLED_DIR:-${CLOUDKITTY_DASHBOARD}/enabled}
|
|
CLOUDKITTY_HORIZON_ENABLED_DIR=${CLOUDKITTY_HORIZON_ENABLED_DIR:-$HORIZON_DIR/openstack_dashboard/enabled}
|
|
|
|
# Set up database backend
|
|
CLOUDKITTY_BACKEND=${CLOUDKITTY_BACKEND:-sqlite}
|
|
|
|
# Set cloudkitty repository
|
|
CLOUDKITTY_REPO=${CLOUDKITTY_REPO:-${GIT_BASE}/openstack/cloudkitty.git}
|
|
CLOUDKITTY_BRANCH=${CLOUDKITTY_BRANCH:-master}
|
|
|
|
# Set CloudKitty connection info
|
|
CLOUDKITTY_SERVICE_HOST=${CLOUDKITTY_SERVICE_HOST:-$SERVICE_HOST}
|
|
CLOUDKITTY_SERVICE_PORT=${CLOUDKITTY_SERVICE_PORT:-8889}
|
|
CLOUDKITTY_SERVICE_HOSTPORT="$CLOUDKITTY_SERVICE_HOST:$CLOUDKITTY_SERVICE_PORT"
|
|
CLOUDKITTY_SERVICE_PROTOCOL=${CLOUDKITTY_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
CLOUDKITTY_USE_MOD_WSGI=${CLOUDKITTY_USE_MOD_WSGI:-${ENABLE_HTTPD_MOD_WSGI_SERVICES}}
|
|
|
|
# Set CloudKitty auth info
|
|
CLOUDKITTY_PRICING_USER=${CLOUDKITTY_PRICING_USER:-"admin"}
|
|
CLOUDKITTY_PRICING_PASSWORD=${CLOUDKITTY_PRICING_PASSWORD:-$ADMIN_PASSWORD}
|
|
CLOUDKITTY_PRICING_TENANT=${CLOUDKITTY_PRICING_TENANT:-"demo"}
|
|
|
|
# Set CloudKitty fetcher info
|
|
CLOUDKITTY_FETCHER=${CLOUDKITTY_FETCHER:-gnocchi}
|
|
|
|
# Set CloudKitty collect info
|
|
CLOUDKITTY_COLLECTOR=${CLOUDKITTY_COLLECTOR:-gnocchi}
|
|
CLOUDKITTY_METRICS_CONF=metrics.yml
|
|
|
|
# Set CloudKitty storage info
|
|
CLOUDKITTY_STORAGE_BACKEND=${CLOUDKITTY_STORAGE_BACKEND:-"influxdb"}
|
|
CLOUDKITTY_STORAGE_VERSION=${CLOUDKITTY_STORAGE_VERSION:-"2"}
|
|
|
|
# Set CloudKitty output info
|
|
CLOUDKITTY_OUTPUT_BACKEND=${CLOUDKITTY_OUTPUT_BACKEND:-"cloudkitty.backend.file.FileBackend"}
|
|
CLOUDKITTY_OUTPUT_BASEPATH=${CLOUDKITTY_OUTPUT_BASEPATH:-$CLOUDKITTY_REPORTS_DIR}
|
|
CLOUDKITTY_OUTPUT_PIPELINE=${CLOUDKITTY_OUTPUT_PIPELINE:-"osrf"}
|
|
|
|
# Set Cloudkitty client info
|
|
GITREPO["python-cloudkittyclient"]=${CLOUDKITTYCLIENT_REPO:-${GIT_BASE}/openstack/python-cloudkittyclient.git}
|
|
GITDIR["python-cloudkittyclient"]=$DEST/python-cloudkittyclient
|
|
GITBRANCH["python-cloudkittyclient"]=${CLOUDKITTYCLIENT_BRANCH:-master}
|
|
|
|
# Set CloudKitty dashboard info
|
|
GITREPO["cloudkitty-dashboard"]=${CLOUDKITTYDASHBOARD_REPO:-${GIT_BASE}/openstack/cloudkitty-dashboard.git}
|
|
GITDIR["cloudkitty-dashboard"]=$DEST/cloudkitty-dashboard
|
|
GITBRANCH["cloudkitty-dashboard"]=${CLOUDKITTYDASHBOARD_BRANCH:-master}
|
|
|
|
# Set influxdb info
|
|
CLOUDKITTY_INFLUXDB_USER=${CLOUDKITTY_INFLUXDB_USER:-cloudkitty}
|
|
CLOUDKITTY_INFLUXDB_PASSWORD=${CLOUDKITTY_INFLUXDB_PASSWORD:-cloudkitty}
|
|
CLOUDKITTY_INFLUXDB_HOST=${CLOUDKITTY_INFLUXDB_HOST:-"localhost"}
|
|
CLOUDKITTY_INFLUXDB_PORT=${CLOUDKITTY_INFLUXDB_PORT:-"8086"}
|
|
CLOUDKITTY_INFLUXDB_DATABASE=${CLOUDKITTY_INFLUXDB_DATABASE:-"cloudkitty"}
|
|
|
|
# Set elasticsearch info
|
|
CLOUDKITTY_ELASTICSEARCH_HOST=${CLOUDKITTY_ELASTICSEARCH_HOST:-"http://localhost:9200"}
|
|
CLOUDKITTY_ELASTICSEARCH_INDEX=${CLOUDKITTY_ELASTICSEARCH_INDEX:-"cloudkitty"}
|