Enable glance to use the SSL middleware
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 13 Jul 2016 08:48:04 +0000 (11:48 +0300)
committerEmilien Macchi <emilien@redhat.com>
Fri, 29 Jul 2016 20:37:20 +0000 (20:37 +0000)
The http_proxy_to_wsgi middleware was recently added to glance as
default in the pipeline [1].

We already enable this middleware for nova, cinder and heat.

[1] I481d88020b6e8420ce4b9072dd30ec82fe3fb4f7

Change-Id: I4a8f7fc079ca93c50aa0ef7b0548dc64f6c5cfa0
Depends-On: I51fbc6050dfbdc72f7ee56a2d17dd5223a208a17

puppet/services/glance-api.yaml

index b0eeade..00751f5 100644 (file)
@@ -85,6 +85,7 @@ outputs:
             params:
               REGISTRY_HOST: {get_param: [EndpointMap, GlanceRegistryInternal, host]}
         glance::api::keystone_password: {get_param: GlancePassword}
+        glance::api::enable_proxy_headers_parsing: true
         glance::api::debug: {get_param: Debug}
         glance::api::workers: {get_param: GlanceWorkers}
         glance_notifier_strategy: {get_param: GlanceNotifierStrategy}