Enable active connection closing for ceilometer-api
Enable active connection closing after response is transferred for ceilometer API requests. Enable httplog option for ceilometer-api as well. Change-Id: I3d835275f8b223370bdffb6217577f6af13c1985 Closes-bug: #1533680
This commit is contained in:
parent
c9d5314333
commit
7221bd5ca6
@ -66,6 +66,7 @@ class openstack::ha::ceilometer (
|
||||
internal_ssl_path => $internal_ssl_path,
|
||||
require_service => 'ceilometer-api',
|
||||
haproxy_config_options => {
|
||||
'option' => ['httplog', 'forceclose'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
}
|
||||
|
@ -22,6 +22,7 @@ require 'spec_helper'
|
||||
'public_ssl_path' => '/var/lib/fuel/haproxy/public_ceilometer.pem',
|
||||
'require_service' => 'ceilometer-api',
|
||||
'haproxy_config_options' => {
|
||||
'option' => ['httplog', 'forceclose'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
)
|
||||
|
@ -33,6 +33,7 @@ describe manifest do
|
||||
'public_ssl' => public_ssl_ceilometer,
|
||||
'require_service' => 'ceilometer-api',
|
||||
'haproxy_config_options' => {
|
||||
'option' => ['httplog', 'forceclose'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user