f99a3faf68
Changing devstack environment vagrant box and also rename the devstack VM to 'devstack' from 'pg-tips' Also fixing all the tests that were broken when they were moved from tests/unit to tests/functional with this review https://review.openstack.org/#/c/400237/ Update devstack README with a section called Development workflow for monasca-transform with steps developers can take to develop and run tests. Change-Id: I11678148ba2bcb96eb3e2a522176683dc8bca30a
57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
# BEGIN DEVSTACK LOCAL.CONF CONTENTS
|
|
|
|
[[local|localrc]]
|
|
MYSQL_PASSWORD=secretmysql
|
|
DATABASE_PASSWORD=secretdatabase
|
|
RABBIT_PASSWORD=secretrabbit
|
|
ADMIN_PASSWORD=secretadmin
|
|
SERVICE_PASSWORD=secretservice
|
|
SERVICE_TOKEN=111222333444
|
|
|
|
HOST_IP=10.0.2.15
|
|
|
|
LOGFILE=$DEST/logs/stack.sh.log
|
|
LOGDIR=$DEST/logs
|
|
LOG_COLOR=False
|
|
|
|
# The following two variables allow switching between Java and Python for the implementations
|
|
# of the Monasca API and the Monasca Persister. If these variables are not set, then the
|
|
# default is to install the Python implementations of both the Monasca API and the Monasca Persister.
|
|
|
|
# Uncomment one of the following two lines to choose Java or Python for the Monasca API.
|
|
# MONASCA_API_IMPLEMENTATION_LANG=${MONASCA_API_IMPLEMENTATION_LANG:-java}
|
|
MONASCA_API_IMPLEMENTATION_LANG=${MONASCA_API_IMPLEMENTATION_LANG:-python}
|
|
|
|
# Uncomment of the following two lines to choose Java or Python for the Monasca Pesister.
|
|
# MONASCA_PERSISTER_IMPLEMENTATION_LANG=${MONASCA_PERSISTER_IMPLEMENTATION_LANG:-java}
|
|
MONASCA_PERSISTER_IMPLEMENTATION_LANG=${MONASCA_PERSISTER_IMPLEMENTATION_LANG:-python}
|
|
|
|
# Uncomment one of the following two lines to choose either InfluxDB or Vertica.
|
|
MONASCA_METRICS_DB=${MONASCA_METRICS_DB:-influxdb}
|
|
# MONASCA_METRICS_DB=${MONASCA_METRICS_DB:-vertica}
|
|
|
|
enable_service monasca
|
|
enable_service monasca-influxdb
|
|
enable_service monasca-storm
|
|
enable_service zookeeper
|
|
enable_service monasca-kafka
|
|
enable_service monasca-api
|
|
enable_service monasca-persister
|
|
enable_service monasca-agent
|
|
enable_service monasca-cli
|
|
|
|
# This line will enable all of Monasca.
|
|
enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api
|
|
# the following may be disabled to leave monasca transform still functional
|
|
#disable_service monasca-persister
|
|
disable_service monasca-thresh
|
|
#disable_service monasca-notification
|
|
disable_service horizon
|
|
#disable_service tempest
|
|
#disable_service cinder
|
|
enable_plugin monasca-transform /home/vagrant/monasca-transform
|
|
# the following must be disabled as the test does not work at this point
|
|
# see Bug #1636508
|
|
disable_service monasca-smoke-test
|
|
# END DEVSTACK LOCAL.CONF CONTENTS
|