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
This commit is contained in:
parent
97564b644f
commit
0c6ec73946
|
@ -94,13 +94,6 @@ function configure_osprofiler() {
|
||||||
iniset $conf profiler connection_string $OSPROFILER_CONNECTION_STRING
|
iniset $conf profiler connection_string $OSPROFILER_CONNECTION_STRING
|
||||||
fi
|
fi
|
||||||
done
|
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue