From 0fe31bc8aea8b01d64f75b98510e94714d0d07f7 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 17 Jul 2018 20:45:54 +0000 Subject: [PATCH] Add osprofiler to api-paste pipeline The osprofiler filter is included in the standard pipelines for nova, glance, cinder, heat, magnum [1], but is missing for neutron. This means when a deployment uses profiling, there is a gap in the data collected when the neutron API is executing. [1] https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/api-paste.ini.j2#L31-L32 Change-Id: I8e45888968cde8ca29548447d0b0bc00ae569fc1 Closes-Bug: #1781619 --- etc/api-paste.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/api-paste.ini b/etc/api-paste.ini index f79088c3582..8e8cf283b51 100644 --- a/etc/api-paste.ini +++ b/etc/api-paste.ini @@ -5,8 +5,8 @@ use = egg:Paste#urlmap [composite:neutronapi_v2_0] use = call:neutron.auth:pipeline_factory -noauth = cors http_proxy_to_wsgi request_id catch_errors extensions neutronapiapp_v2_0 -keystone = cors http_proxy_to_wsgi request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0 +noauth = cors http_proxy_to_wsgi request_id catch_errors osprofiler extensions neutronapiapp_v2_0 +keystone = cors http_proxy_to_wsgi request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0 [composite:neutronversions_composite] use = call:neutron.auth:pipeline_factory