From 12bb53b6a0b003434f0e39610f46d2425263ea20 Mon Sep 17 00:00:00 2001 From: Attila Fazekas <afazekas@redhat.com> Date: Thu, 25 Jul 2013 23:02:48 +0200 Subject: [PATCH] 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 --- stack.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stack.sh b/stack.sh index 3fa025f939..4da13fe410 100755 --- a/stack.sh +++ b/stack.sh @@ -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