Browse code

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

Attila Fazekas authored on 2013/07/26 06:02:48
Showing 1 changed files
... ...
@@ -736,6 +736,9 @@ fi
736 736
 if is_service_enabled ceilometer; then
737 737
     install_ceilometerclient
738 738
     install_ceilometer
739
+    echo_summary "Configuring Ceilometer"
740
+    configure_ceilometer
741
+    configure_ceilometerclient
739 742
 fi
740 743
 
741 744
 if is_service_enabled heat; then
... ...
@@ -1211,9 +1214,6 @@ if is_service_enabled cinder; then
1211 1211
     start_cinder
1212 1212
 fi
1213 1213
 if is_service_enabled ceilometer; then
1214
-    echo_summary "Configuring Ceilometer"
1215
-    configure_ceilometer
1216
-    configure_ceilometerclient
1217 1214
     echo_summary "Starting Ceilometer"
1218 1215
     init_ceilometer
1219 1216
     start_ceilometer