From 2a633a65275201a18316b7077a048948093e3746 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Thu, 13 Oct 2016 08:57:37 +0300 Subject: [PATCH] Enable proxy headers parsing for Gnocchi http_proxy_to_wsgi middleware was recently added to Gnocchi [1] and in order to take it into use, we need to enable it via hiera. [1] Ic5526cf37e70335fa2cc70946a271253f227f129 Related-Bug: #1590608 Change-Id: I145dcfa3455ca1541cbf6b5fc4b601f0813619c0 (cherry picked from commit 17c821b071efbfd2f858daa7138fa36cf877f6c9) --- puppet/services/gnocchi-api.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet/services/gnocchi-api.yaml b/puppet/services/gnocchi-api.yaml index 15121790c1..e339776928 100644 --- a/puppet/services/gnocchi-api.yaml +++ b/puppet/services/gnocchi-api.yaml @@ -77,6 +77,7 @@ outputs: - 8041 - 13041 gnocchi::api::enabled: true + gnocchi::api::enable_proxy_headers_parsing: true gnocchi::api::service_name: 'httpd' gnocchi::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]} gnocchi::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}