[devstack] Setting [collect]/wait_periods to 0 by default

This is done in order to get quicker results when creating a devstack.
Production deployments should keep the default value.

Change-Id: I899311ba1d87f23133b650567a63863005caf56c
This commit is contained in:
Luka Peschke 2019-03-27 17:03:05 +01:00
parent 8ea14cb188
commit 4c69a86fcc

View File

@ -177,6 +177,9 @@ function configure_cloudkitty {
iniset $CLOUDKITTY_CONF collect collector $CLOUDKITTY_COLLECTOR iniset $CLOUDKITTY_CONF collect collector $CLOUDKITTY_COLLECTOR
iniset $CLOUDKITTY_CONF "collector_${CLOUDKITTY_COLLECTOR}" auth_section authinfos iniset $CLOUDKITTY_CONF "collector_${CLOUDKITTY_COLLECTOR}" auth_section authinfos
iniset $CLOUDKITTY_CONF collect metrics_conf $CLOUDKITTY_CONF_DIR/$CLOUDKITTY_METRICS_CONF iniset $CLOUDKITTY_CONF collect metrics_conf $CLOUDKITTY_CONF_DIR/$CLOUDKITTY_METRICS_CONF
# DO NOT DO THIS IN PRODUCTION! This is done in order to get data quicker
# when starting a devstack installation, but is NOT a recommended setting
iniset $CLOUDKITTY_CONF collect wait_periods 0
# output # output
iniset $CLOUDKITTY_CONF output backend $CLOUDKITTY_OUTPUT_BACKEND iniset $CLOUDKITTY_CONF output backend $CLOUDKITTY_OUTPUT_BACKEND