From 0f6d4537e1457ab8e5cb447df8eab009b9525906 Mon Sep 17 00:00:00 2001 From: Dina Belova Date: Wed, 23 Apr 2014 17:47:36 +0400 Subject: [PATCH] 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 --- lib/ceilometer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ceilometer b/lib/ceilometer index 5030b3cb35..d02416613f 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -236,7 +236,7 @@ function install_ceilometerclient { # start_ceilometer() - Start running processes, including screen function start_ceilometer { if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then - screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\"" + screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP 'ceilometer-agent-compute --config-file $CEILOMETER_CONF'" fi if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then screen_it ceilometer-acompute "cd ; ceilometer-agent-compute --config-file $CEILOMETER_CONF"