Browse code

Update lib/ceilometer to reflect script renames

Without this change some services for ceilometer will not start
breaking CI.

This change I7447ba4f408c95b0acf1b809504ce16fff1c6e21 was validated
against the ceilometer devstack plugin but apparently not against
devstack itself. Until I413ab159474b7d7231ad66d3a482201f74efe8a8
merges devstack still has ceilometer support and is used in the
gate.

Change-Id: Ib1ea8b6ef7019570f82b0ba87e03fc627c8f6801

Chris Dent authored on 2015/09/09 17:33:15
Showing 1 changed files
... ...
@@ -360,10 +360,10 @@ function install_ceilometerclient {
360 360
 
361 361
 # start_ceilometer() - Start running processes, including screen
362 362
 function start_ceilometer {
363
-    run_process ceilometer-acentral "$CEILOMETER_BIN_DIR/ceilometer-agent-central --config-file $CEILOMETER_CONF"
363
+    run_process ceilometer-acentral "$CEILOMETER_BIN_DIR/ceilometer-polling --polling-namespaces central --config-file $CEILOMETER_CONF"
364 364
     run_process ceilometer-anotification "$CEILOMETER_BIN_DIR/ceilometer-agent-notification --config-file $CEILOMETER_CONF"
365 365
     run_process ceilometer-collector "$CEILOMETER_BIN_DIR/ceilometer-collector --config-file $CEILOMETER_CONF"
366
-    run_process ceilometer-aipmi "$CEILOMETER_BIN_DIR/ceilometer-agent-ipmi --config-file $CEILOMETER_CONF"
366
+    run_process ceilometer-aipmi "$CEILOMETER_BIN_DIR/ceilometer-polling --polling-namespaces ipmi --config-file $CEILOMETER_CONF"
367 367
 
368 368
     if [[ "$CEILOMETER_USE_MOD_WSGI" == "False" ]]; then
369 369
         run_process ceilometer-api "$CEILOMETER_BIN_DIR/ceilometer-api -d -v --log-dir=$CEILOMETER_API_LOG_DIR --config-file $CEILOMETER_CONF"
... ...
@@ -378,10 +378,10 @@ function start_ceilometer {
378 378
     # Start the compute agent last to allow time for the collector to
379 379
     # fully wake up and connect to the message bus. See bug #1355809
380 380
     if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
381
-        run_process ceilometer-acompute "$CEILOMETER_BIN_DIR/ceilometer-agent-compute --config-file $CEILOMETER_CONF" $LIBVIRT_GROUP
381
+        run_process ceilometer-acompute "$CEILOMETER_BIN_DIR/ceilometer-polling --polling-namespaces compute --config-file $CEILOMETER_CONF" $LIBVIRT_GROUP
382 382
     fi
383 383
     if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
384
-        run_process ceilometer-acompute "$CEILOMETER_BIN_DIR/ceilometer-agent-compute --config-file $CEILOMETER_CONF"
384
+        run_process ceilometer-acompute "$CEILOMETER_BIN_DIR/ceilometer-polling --polling-namespaces compute --config-file $CEILOMETER_CONF"
385 385
     fi
386 386
 
387 387
     # Only die on API if it was actually intended to be turned on