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
This commit is contained in:
Jonathan Rosser 2018-07-17 21:05:40 +00:00
parent 1a3a0fdbf5
commit ad47b94849
1 changed files with 2 additions and 2 deletions

View File

@ -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