Merge "ceilometer compute agent not started correctly"

This commit is contained in:
Jenkins 2014-09-18 09:48:28 +00:00 committed by Gerrit Code Review
commit 5278b8a0ec

View File

@ -232,7 +232,7 @@ function start_ceilometer {
# Start the compute agent last to allow time for the collector to # Start the compute agent last to allow time for the collector to
# fully wake up and connect to the message bus. See bug #1355809 # fully wake up and connect to the message bus. See bug #1355809
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
run_process ceilometer-acompute "sg $LIBVIRT_GROUP 'ceilometer-agent-compute --config-file $CEILOMETER_CONF'" run_process ceilometer-acompute "ceilometer-agent-compute --config-file $CEILOMETER_CONF" $LIBVIRT_GROUP
fi fi
if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
run_process ceilometer-acompute "ceilometer-agent-compute --config-file $CEILOMETER_CONF" run_process ceilometer-acompute "ceilometer-agent-compute --config-file $CEILOMETER_CONF"