From 2070d2d7cbd381a33bc0ad3a74d2713de0127e9f Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 25 Jun 2015 03:22:15 +0200 Subject: 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: https://bugzilla.redhat.com/show_bug.cgi?id=1234637 Closes-Bug: 1468566 Change-Id: Icdd80aa9cd56e5afd3707eb7fa38aaedb8535af6 --- manifests/loadbalancer.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index e94f44a..effb1d1 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -684,7 +684,7 @@ class tripleo::loadbalancer ( ipaddress => hiera('glance_registry_vip', $controller_virtual_ip), ports => 9191, options => { - 'option' => [ 'httpchk GET /' ], + 'mode' => 'tcp', }, collect_exported => false, } -- cgit 1.2.3-korg