From ad47b94849e772e4dc49d863b6a3fe7f89445dff Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 17 Jul 2018 21:05:40 +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 upstream neutron. This means when a deployment uses profiling, there is a gap in the data collected when the neutron API is executing. Upstream fix https://review.openstack.org/#/c/583362/ [1] https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/api-paste.ini.j2#L31-L32 Change-Id: I63e2e8a1886527d363986bbb82c069eaaaa4406a Partial-Bug: #1781619 --- templates/api-paste.ini.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index f79088c3..8e8cf283 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -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