aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2015-06-25 03:22:15 +0200
committerGiulio Fidente <gfidente@redhat.com>2015-06-25 03:31:59 +0200
commit2070d2d7cbd381a33bc0ad3a74d2713de0127e9f (patch)
tree5f17fbf2ae609b8ed8e23c7fd0a72e2e7df86b9f
parentf0d5f3aa0dd3c391de7a53718377da22ef7b27f9 (diff)
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
-rw-r--r--manifests/loadbalancer.pp2
1 files changed, 1 insertions, 1 deletions
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,
}