Fix HAProxy config for Nova EC2 API
authorJiri Stransky <jistr@redhat.com>
Mon, 27 Jul 2015 12:58:26 +0000 (14:58 +0200)
committerJiri Stransky <jistr@redhat.com>
Mon, 27 Jul 2015 13:02:01 +0000 (15:02 +0200)
EC2 API returns 400 for unauthenticated requests, making HAProxy believe
that the service is down. We'll use TCP check instead of HTTP check for
EC2 API.

Change-Id: Ide7f9390603c9893b95cacd51d468461255dcf07

manifests/loadbalancer.pp

index 4596b50..99dd342 100644 (file)
@@ -738,7 +738,7 @@ class tripleo::loadbalancer (
     haproxy::listen { 'nova_ec2':
       bind             => $nova_ec2_bind_opts,
       options          => {
-        'option' => [ 'httpchk GET /' ],
+        'option' => [ ],
       },
       collect_exported => false,
     }