Use mode tcp for glance-registry balancing
authorGiulio Fidente <gfidente@redhat.com>
Thu, 25 Jun 2015 01:22:15 +0000 (03:22 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 25 Jun 2015 01:31:59 +0000 (03:31 +0200)
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

index e94f44a..effb1d1 100644 (file)
@@ -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,
     }