change collector_workers to [collector]workers

We have deprecated collector_workers, let's update it in devstack as
well.

Change-Id: I914d34998ca357b1dea117229fbee494509d8f57
Closes-Bug: #1505555
This commit is contained in:
ZhiQiang Fan 2015-10-13 01:05:27 -07:00
parent 130b8519df
commit 27822d05c9

View File

@ -213,13 +213,13 @@ function _ceilometer_configure_storage_backend {
iniset $CEILOMETER_CONF database alarm_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF database event_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF database metering_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF DEFAULT collector_workers $API_WORKERS
iniset $CEILOMETER_CONF collector workers $API_WORKERS
elif [ "$CEILOMETER_BACKEND" = 'es' ] ; then
# es is only supported for events. we will use sql for alarming/metering.
iniset $CEILOMETER_CONF database alarm_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF database event_connection es://localhost:9200
iniset $CEILOMETER_CONF database metering_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF DEFAULT collector_workers $API_WORKERS
iniset $CEILOMETER_CONF collector workers $API_WORKERS
${TOP_DIR}/pkg/elasticsearch.sh start
cleanup_ceilometer
elif [ "$CEILOMETER_BACKEND" = 'mongodb' ] ; then