summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-18 10:16:08 +0000
committerGerrit Code Review <review@openstack.org>2018-01-18 10:16:08 +0000
commite40cdb2cac4a67489a67d2ceb0bf6f1c1427c8be (patch)
tree0bf824a9df40a72d0cacaca08309ab79a5d62b36
parent6647bf2ae3293832603c10b5b4ed0c255ff688fe (diff)
parentafa98f3880ccbb3fc098120e2ecfe8a59a83b5e7 (diff)
downloadosprofiler-e40cdb2cac4a67489a67d2ceb0bf6f1c1427c8be.tar.gz
Merge "Initialize osprofiler in Nova Cell configs"
-rw-r--r--devstack/lib/osprofiler8
1 files changed, 8 insertions, 0 deletions
diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler
index 5c49543..99dc33a 100644
--- a/devstack/lib/osprofiler
+++ b/devstack/lib/osprofiler
@@ -28,6 +28,14 @@ CONF_FILES=(
$ZUN_CONF
)
+# Add config files of Nova Cells
+NOVA_NUM_CELLS=${NOVA_NUM_CELLS:-1}
+for i in $(seq 1 ${NOVA_NUM_CELLS}); do
+ # call function `conductor_conf` defined in lib/nova to get file name
+ conf=$(conductor_conf $i)
+ CONF_FILES+=(${conf})
+done
+
# This will update CEILOMETER_NOTIFICATION_TOPICS in ceilometer.conf file
export CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler