]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Added osprofiler headers to cors middleware
authorMichael Krotscheck <krotscheck@gmail.com>
Wed, 3 Feb 2016 15:18:18 +0000 (07:18 -0800)
committerMichael Krotscheck <krotscheck@gmail.com>
Wed, 3 Feb 2016 15:18:18 +0000 (07:18 -0800)
This patch adds the osprofiler trace headers to the CORS configuration
block: X-Trace-Info, X-Trace-HMAC

Change-Id: Ie6b493252973177727cd4445ec12c36c3c90fd71

etc/cinder/api-paste.ini

index 5f1fbd333224dfce42ee3aa834a9032ce96a33b5..191754014d4d52fd170346a319384a3c6a55fc2d 100644 (file)
@@ -26,7 +26,7 @@ paste.filter_factory = oslo_middleware.request_id:RequestId.factory
 [filter:cors]
 paste.filter_factory = oslo_middleware.cors:filter_factory
 oslo_config_project = cinder
-latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID
+latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID, X-Trace-Info, X-Trace-HMAC
 latent_expose_headers = X-Auth-Token, X-Subject-Token, X-Service-Token, X-OpenStack-Request-ID
 latent_allow_methods = GET, PUT, POST, DELETE, PATCH