cm-cpu-agent only support libvirt driver

ceilometer-compute-agent only support libvirt driver

Change-Id: I8b92ef10f52388ead11f8ce51c9ab119f953efae
This commit is contained in:
Mehdi Abaakouk 2013-10-23 06:46:43 +00:00
parent 1722aabd9c
commit fc1b7786eb

View File

@ -137,7 +137,9 @@ function install_ceilometerclient() {
# start_ceilometer() - Start running processes, including screen
function start_ceilometer() {
screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
fi
screen_it ceilometer-acentral "cd ; ceilometer-agent-central --config-file $CEILOMETER_CONF"
screen_it ceilometer-collector "cd ; ceilometer-collector --config-file $CEILOMETER_CONF"
screen_it ceilometer-api "cd ; ceilometer-api -d -v --log-dir=$CEILOMETER_API_LOG_DIR --config-file $CEILOMETER_CONF"