Revert "loadbalancer: use TCP checks for Spice"
This patch breaks HAproxy to start: [ALERT] 230/085911 (53231) : parsing [/etc/haproxy/haproxy.cfg:235] : 'http-check' only supports 'disable-on-404', 'send-state', 'expect'. This reverts commit 755851c93889b92e10a9dbddc6f591a7bc6ec01a.
This commit is contained in:
parent
ed49a5e550
commit
eef178e01c
@ -373,13 +373,11 @@ class cloud::loadbalancer(
|
||||
port => $spice_port,
|
||||
options => {
|
||||
'balance' => 'leastconn',
|
||||
'mode' => 'tcp',
|
||||
'option' => ['tcpka', 'forwardfor', 'tcplog',],
|
||||
'http-check' => '',
|
||||
'timeout server' => '120m',
|
||||
'timeout client' => '120m',
|
||||
},
|
||||
bind_options => $spice_bind_options,
|
||||
httpchk => 'httpchk GET /';
|
||||
}
|
||||
cloud::loadbalancer::binding { 'trove_api_cluster':
|
||||
ip => $trove_api,
|
||||
|
@ -209,10 +209,10 @@ describe 'cloud::loadbalancer' do
|
||||
:ipaddress => [params[:vip_public_ip]],
|
||||
:ports => '6082',
|
||||
:options => {
|
||||
'mode' => 'tcp',
|
||||
'option' => ['tcpka', 'forwardfor', 'tcplog'],
|
||||
'mode' => 'http',
|
||||
'option' => ['tcpka', 'forwardfor', 'tcplog','httpchk GET /'],
|
||||
'http-check' => 'expect ! rstatus ^5',
|
||||
'balance' => 'leastconn',
|
||||
'http-check' => '',
|
||||
'timeout server' => '120m',
|
||||
'timeout client' => '120m'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user