Enable proxy headers parsing for Neutron
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 17 Oct 2016 08:49:25 +0000 (11:49 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 17 Oct 2016 08:49:25 +0000 (11:49 +0300)
http_proxy_to_wsgi middleware was recently added to Neutron [1] and
in order to take it into use, we need to enable it via hiera.

[1] Ice9ee8f4e04050271d59858f92034c230325718b
Depends-On: I99bc9486fdd85857ce73c413e17400320bd6ec5b
Related-Bug: #1590608

Change-Id: I10c065e726f2708e09acfc04dac3cae34a534d23

puppet/services/neutron-api.yaml

index c2b6b6f..408eb79 100644 (file)
@@ -136,6 +136,7 @@ outputs:
             neutron::server::rpc_workers: {get_param: NeutronWorkers}
             neutron::server::allow_automatic_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
             neutron::server::l3_ha: {if: ["auto_enable_l3_ha", true, {get_param: NeutronL3HA}]}
+            neutron::server::enable_proxy_headers_parsing: true
             neutron::keystone::authtoken::password: {get_param: NeutronPassword}
 
             neutron::server::notifications::nova_url: { get_param: [ EndpointMap, NovaInternal, uri ] }