Add ceilometer to the sys.path before the nova starts

The setup.py setup develop adds package to the
 /usr/lib/python2.7/site-packages/easy-install.pth.

The nova uses the ceilometer.compute.nova_notifier, so it must be
in the path before the nova started.

Change-Id: I80ed5e5611278e75afa7ab7f8fb91417897d423f
This commit is contained in:
Attila Fazekas 2013-07-25 23:02:48 +02:00
parent 5011c03d03
commit 12bb53b6a0

@ -736,6 +736,9 @@ fi
if is_service_enabled ceilometer; then
install_ceilometerclient
install_ceilometer
echo_summary "Configuring Ceilometer"
configure_ceilometer
configure_ceilometerclient
fi
if is_service_enabled heat; then
@ -1211,9 +1214,6 @@ if is_service_enabled cinder; then
start_cinder
fi
if is_service_enabled ceilometer; then
echo_summary "Configuring Ceilometer"
configure_ceilometer
configure_ceilometerclient
echo_summary "Starting Ceilometer"
init_ceilometer
start_ceilometer