Use mode tcp for glance-registry balancing

The glance-registry service is returning 401 to httpchk, which
makes haproxy think it is down. This change switches the check
mode to tcp.

Closes-Bug: 1468566
Closes-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1234637

Change-Id: Icdd80aa9cd56e5afd3707eb7fa38aaedb8535af6
This commit is contained in:
Giulio Fidente 2015-06-25 03:22:15 +02:00
parent f0d5f3aa0d
commit e30acdcbbd
1 changed files with 2 additions and 2 deletions

View File

@ -684,8 +684,8 @@ class tripleo::loadbalancer (
ipaddress => hiera('glance_registry_vip', $controller_virtual_ip),
ports => 9191,
options => {
'option' => [ 'httpchk GET /' ],
},
'mode' => 'tcp',
}
collect_exported => false,
}
haproxy::balancermember { 'glance_registry':