From: Giulio Fidente Date: Thu, 25 Jun 2015 01:22:15 +0000 (+0200) Subject: Use mode tcp for glance-registry balancing X-Git-Tag: opnfv-6.0.0~858^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2070d2d7cbd381a33bc0ad3a74d2713de0127e9f;p=apex-puppet-tripleo.git 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 --- 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, }