Initialize osprofiler in Nova Cell configs
Nova Cell conductor has its own config file and Devstack plugin should update it when osprofiler is enabled. Change-Id: Iaa6a8de9ab9d8a27ff9bf9d56ee62cd8d290609a Closes-Bug: #1731856
This commit is contained in:
parent
0895a4bb91
commit
afa98f3880
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue