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
(cherry picked from commit bdeea69d726eca7a899b1d2225d213724b31df22)

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