Comment 2 for bug 1796943

Revision history for this message
Emre Ates (emreates) wrote :

Yes, I have them enabled. Here's the related section from /etc/cinder/cinder.conf:

[profiler]
trace_wsgi_transport = True
trace_message_store = True
trace_management_store = True
connection_string = redis://localhost:6379
hmac_keys = MYKEY
trace_sqlalchemy = False
enabled = True

And /etc/cinder/api-paste.ini:

[composite:osapi_volume]
use = call:cinder.api:root_app_factory
/: apiversions
/v1: openstack_volume_api_v1
/v2: openstack_volume_api_v2
/v3: openstack_volume_api_v3

#example, v2 and v1 are similar
[composite:openstack_volume_api_v3]
use = call:cinder.api.middleware.auth:pipeline_factory
noauth = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3
keystone = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3
keystone_nolimit = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3

[filter:osprofiler]
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory

I've also restarted openstack by "systemctl restart devstack@*" after changing these.