Enable proxy header handling for cinder
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 27 May 2016 10:50:09 +0000 (13:50 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 27 May 2016 10:50:09 +0000 (13:50 +0300)
Cinder is using http_proxy_to_wsgi middleware. This parses the
headers provided by the proxy, and helps us properly use TLS for
keystone discovery. There was an option introduced in this middleware
to have it disabled by default, and this change enables it.

Change-Id: Ia33b3fa04d71eab10effd0b33eb2c194282cd15b

puppet/hieradata/controller.yaml

index 7a446b5..321ae80 100644 (file)
@@ -128,6 +128,10 @@ cinder::cron::db_purge::destination: '/dev/null'
 cinder::host: hostgroup
 cinder_user_enabled_backends: []
 
+# TODO(jaosorior): Move to cinder profile once cinder is moved as a composable
+# service.
+cinder::api::enable_proxy_headers_parsing: true
+
 # heat
 heat::engine::configure_delegated_roles: false
 heat::engine::trusts_delegated_roles: []