Remove httpchk option as we do mode tcp by default

Change-Id: Ic8deb77533f561cea7ce7db1d20f6be5e2dc0d33
This commit is contained in:
Giulio Fidente 2015-07-02 11:31:18 +02:00
parent e8714e0372
commit 1c96ce1002
1 changed files with 1 additions and 46 deletions

View File

@ -555,9 +555,7 @@ class tripleo::loadbalancer (
"${heat_api_vip}:8004" => [],
"${public_virtual_ip}:8004" => [],
}
$heat_options = {
'option' => [ 'httpchk GET /' ],
}
$heat_options = {}
$heat_cw_bind_opts = {
"${heat_api_vip}:8003" => [],
"${public_virtual_ip}:8003" => [],
@ -628,9 +626,6 @@ class tripleo::loadbalancer (
if $keystone_admin {
haproxy::listen { 'keystone_admin':
bind => $keystone_admin_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'keystone_admin':
@ -645,9 +640,6 @@ class tripleo::loadbalancer (
if $keystone_public {
haproxy::listen { 'keystone_public':
bind => $keystone_public_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'keystone_public':
@ -662,9 +654,6 @@ class tripleo::loadbalancer (
if $neutron {
haproxy::listen { 'neutron':
bind => $neutron_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'neutron':
@ -679,9 +668,6 @@ class tripleo::loadbalancer (
if $cinder {
haproxy::listen { 'cinder':
bind => $cinder_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'cinder':
@ -696,9 +682,6 @@ class tripleo::loadbalancer (
if $glance_api {
haproxy::listen { 'glance_api':
bind => $glance_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'glance_api':
@ -714,9 +697,6 @@ class tripleo::loadbalancer (
haproxy::listen { 'glance_registry':
ipaddress => hiera('glance_registry_vip', $controller_virtual_ip),
ports => 9191,
options => {
'mode' => 'tcp',
},
collect_exported => false,
}
haproxy::balancermember { 'glance_registry':
@ -731,9 +711,6 @@ class tripleo::loadbalancer (
if $nova_ec2 {
haproxy::listen { 'nova_ec2':
bind => $nova_ec2_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'nova_ec2':
@ -748,9 +725,6 @@ class tripleo::loadbalancer (
if $nova_osapi {
haproxy::listen { 'nova_osapi':
bind => $nova_osapi_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'nova_osapi':
@ -766,9 +740,6 @@ class tripleo::loadbalancer (
haproxy::listen { 'nova_metadata':
ipaddress => hiera('nova_metadata_vip', $controller_virtual_ip),
ports => 8775,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'nova_metadata':
@ -783,9 +754,6 @@ class tripleo::loadbalancer (
if $nova_novncproxy {
haproxy::listen { 'nova_novncproxy':
bind => $nova_novnc_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'nova_novncproxy':
@ -814,9 +782,6 @@ class tripleo::loadbalancer (
if $swift_proxy_server {
haproxy::listen { 'swift_proxy_server':
bind => $swift_bind_opts,
options => {
'option' => [ 'httpchk GET /info' ],
},
collect_exported => false,
}
haproxy::balancermember { 'swift_proxy_server':
@ -847,9 +812,6 @@ class tripleo::loadbalancer (
if $heat_cloudwatch {
haproxy::listen { 'heat_cloudwatch':
bind => $heat_cw_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'heat_cloudwatch':
@ -864,9 +826,6 @@ class tripleo::loadbalancer (
if $heat_cfn {
haproxy::listen { 'heat_cfn':
bind => $heat_cfn_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'heat_cfn':
@ -881,9 +840,6 @@ class tripleo::loadbalancer (
if $horizon {
haproxy::listen { 'horizon':
bind => $horizon_bind_opts,
options => {
'option' => [ 'httpchk GET /' ],
},
collect_exported => false,
}
haproxy::balancermember { 'horizon':
@ -964,7 +920,6 @@ class tripleo::loadbalancer (
ports => 6379,
options => {
'timeout' => [ 'client 0', 'server 0' ],
'mode' => 'tcp',
'balance' => 'first',
'option' => ['tcp-check',],
'tcp-check' => ['send info\ replication\r\n','expect string role:master'],