diff options
author | Zuul <zuul@review.openstack.org> | 2019-03-18 14:10:57 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-03-18 14:10:57 +0000 |
commit | a195df7af8591ff63ae705418f0a07585a8391f1 (patch) | |
tree | d7ccae8ec462fd7b8bddfd507c81cf13ff14aa32 /devstack | |
parent | da7a8592ae22344de1b1fa6ffdcc4455c5ce6e89 (diff) | |
parent | 175cfeef5c98e67299842d5ff3e36ed5e1978c4b (diff) | |
download | osprofiler-a195df7af8591ff63ae705418f0a07585a8391f1.tar.gz |
Merge "Add a job to run full Tempest with enabled profiler"
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/osprofiler | 5 | ||||
-rw-r--r-- | devstack/plugin.sh | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler index c8055db..8a7351b 100644 --- a/devstack/lib/osprofiler +++ b/devstack/lib/osprofiler @@ -133,6 +133,11 @@ function configure_osprofiler() { reload_service devstack@keystone } +function configure_osprofiler_in_tempest() { + + iniset $TEMPEST_CONFIG profiler key $OSPROFILER_HMAC_KEYS +} + # Restore xtrace $XTRACE diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 600c86e..72c0bca 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -14,6 +14,11 @@ if [[ "$1" == "stack" && "$2" == "install" ]]; then elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then echo_summary "Configuring OSProfiler" configure_osprofiler + +elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then + echo_summary "Configuring Tempest" + configure_osprofiler_in_tempest + fi # Restore xtrace |