Use http-server-close for glance glare service
Change-Id: Ic74d78ffb948f15e6a7297a05ab92b67b79da962
Closes-Bug: #1590633
(cherry-picked from 0331b59169
)
This commit is contained in:
parent
6fbcb39154
commit
047e301a5c
|
@ -86,7 +86,7 @@ class openstack::ha::glance (
|
|||
require_service => 'glance-glare',
|
||||
haproxy_config_options => {
|
||||
# TODO degorenko: check for ability for 'httpchk GET /healthcheck' for Glare
|
||||
'option' => ['httpchk /versions', 'httplog', 'forceclose', 'http-buffer-request'],
|
||||
'option' => ['httpchk /versions', 'httplog', 'http-server-close', 'http-buffer-request'],
|
||||
'timeout' => ['server 11m', 'http-request 10s'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
|
|
|
@ -38,7 +38,7 @@ require 'spec_helper'
|
|||
'public_ssl_path' => '/var/lib/fuel/haproxy/public_glance.pem',
|
||||
'require_service' => 'glance-glare',
|
||||
'haproxy_config_options' => {
|
||||
'option' => ['httpchk /versions', 'httplog', 'forceclose', 'http-buffer-request'],
|
||||
'option' => ['httpchk /versions', 'httplog', 'http-server-close', 'http-buffer-request'],
|
||||
'timeout' => ['server 11m', 'http-request 10s'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
|
|
|
@ -66,7 +66,7 @@ describe manifest do
|
|||
'public_ssl' => public_ssl,
|
||||
'require_service' => 'glance-glare',
|
||||
'haproxy_config_options' => {
|
||||
'option' => ['httpchk /versions', 'httplog', 'forceclose', 'http-buffer-request'],
|
||||
'option' => ['httpchk /versions', 'httplog', 'http-server-close', 'http-buffer-request'],
|
||||
'timeout' => ['server 11m', 'http-request 10s'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue