From 0c6ec739466c32a90ed091e6b2ed6f1d22240a3e Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Fri, 11 Jan 2019 12:04:31 +0100 Subject: [PATCH] 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 --- devstack/lib/osprofiler | 7 ------- 1 file changed, 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 }