Browse code

Fix ceilometer-acompute rejoin problems

The problem was in the screenrc file generated, where the
following command appeared:

sg libvirtd "ceilometer-agent-compute
--config-file /etc/ceilometer/ceilometer.conf"^M"

The final "^M" was not then parsed.

Change-Id: Ie6c5b1c9e3d196a3a9c343c2afb46435711c10f5
Closes-bug: #1311666

Dina Belova authored on 2014/04/23 22:47:36
Showing 1 changed files
... ...
@@ -236,7 +236,7 @@ function install_ceilometerclient {
236 236
 # start_ceilometer() - Start running processes, including screen
237 237
 function start_ceilometer {
238 238
     if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
239
-        screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
239
+        screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP 'ceilometer-agent-compute --config-file $CEILOMETER_CONF'"
240 240
     fi
241 241
     if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
242 242
         screen_it ceilometer-acompute "cd ; ceilometer-agent-compute --config-file $CEILOMETER_CONF"