summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shakhat <shakhat@gmail.com>2019-01-11 12:26:17 +0100
committerIlya Shakhat <shakhat@gmail.com>2019-01-11 12:26:17 +0100
commit8c264eb0fe7a704e5ed8d52b765a692303be289f (patch)
tree0c9bb3ca02a4ee127b54c2a865cf44692719bc23
parent0c6ec739466c32a90ed091e6b2ed6f1d22240a3e (diff)
downloadosprofiler-8c264eb0fe7a704e5ed8d52b765a692303be289f.tar.gz
Reload keystone to apply osprofiler config
In DevStack Keystone is configured and started within the same phase (while other services allow to be configured before starting). To apply osprofiler configuration, Keystone needs to be reloaded. Change-Id: Icf69c4e7f602702cf68986a6073b2cd4c0c3abe8
-rw-r--r--devstack/lib/osprofiler3
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler
index f0cdeeb..6990517 100644
--- a/devstack/lib/osprofiler
+++ b/devstack/lib/osprofiler
@@ -94,6 +94,9 @@ function configure_osprofiler() {
iniset $conf profiler connection_string $OSPROFILER_CONNECTION_STRING
fi
done
+
+ # Keystone is already running, should be reloaded to apply osprofiler config
+ reload_service devstack@keystone
}