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
diff --git a/stack.sh b/stack.sh
index 3fa025f..4da13fe 100755
--- a/stack.sh
+++ b/stack.sh
@@ -736,6 +736,9 @@
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 @@
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