Browse code

ceilometer compute agent not started correctly

command isn't properly parsed after switch to run_process. this
patch corrects the regression

Change-Id: Ib28d4bbf6f150854fc5aa04e3fa4eed92005ce19
Closes-Bug: #1370673

gordon chung authored on 2014/09/18 03:54:21
Showing 1 changed files
... ...
@@ -232,7 +232,7 @@ function start_ceilometer {
232 232
     # Start the compute agent last to allow time for the collector to
233 233
     # fully wake up and connect to the message bus. See bug #1355809
234 234
     if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
235
-        run_process ceilometer-acompute "sg $LIBVIRT_GROUP 'ceilometer-agent-compute --config-file $CEILOMETER_CONF'"
235
+        run_process ceilometer-acompute "ceilometer-agent-compute --config-file $CEILOMETER_CONF" $LIBVIRT_GROUP
236 236
     fi
237 237
     if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
238 238
         run_process ceilometer-acompute "ceilometer-agent-compute --config-file $CEILOMETER_CONF"