summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shakhat <shakhat@gmail.com>2019-01-11 12:04:31 +0100
committerIlya Shakhat <shakhat@gmail.com>2019-01-11 12:04:31 +0100
commit0c6ec739466c32a90ed091e6b2ed6f1d22240a3e (patch)
tree1777f15351f38e28c22210e1d14185711d23f702
parent97564b644f0446d03f8fab92632c84e9b2e43dec (diff)
downloadosprofiler-0c6ec739466c32a90ed091e6b2ed6f1d22240a3e.tar.gz
Do not insert osprofiler filter into Neutron api-paste pipeline
With I8e45888968cde8ca29548447d0b0bc00ae569fc1 osprofiler is in the default api-paste pipeline and is installed in DevStack. Change-Id: Ieaf6d4f543b650c8426ec5aeb1a7f173c041faef
-rw-r--r--devstack/lib/osprofiler7
1 files changed, 0 insertions, 7 deletions
diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler
index 0627372..f0cdeeb 100644
--- a/devstack/lib/osprofiler
+++ b/devstack/lib/osprofiler
@@ -94,13 +94,6 @@ function configure_osprofiler() {
iniset $conf profiler connection_string $OSPROFILER_CONNECTION_STRING
fi
done
-
- # Insert osprofiler filter into Neutron paste configuration
- if [ -f $Q_API_PASTE_FILE ]; then
- VAL=$(iniget $Q_API_PASTE_FILE composite:neutronapi_v2_0 keystone)
- VAL=${VAL/catch_errors/catch_errors osprofiler}
- iniset $Q_API_PASTE_FILE composite:neutronapi_v2_0 keystone "$VAL"
- fi
}