From a18c3a8548000181bacd96fa465914945a49c59e Mon Sep 17 00:00:00 2001 From: James Slagle Date: Fri, 17 Jul 2015 20:00:52 -0400 Subject: Listener options for Ironic/ceilometer/glance_registry This updates some of the listener options set by loadbalancer.pp. Iroinc needs to pass in the option to do a httpchk, otherwise puppet-haproxy defaults it to doing a ssl-hello-chk, which won't work against the non-ssl loadbalancer server. Ceilometer and glance_registry both don't support a httpchk against the root (/) of their webservers (they return a straight 401) so disable those checks completely. Change-Id: Ibfc81175842a748eb077b132b0818c4ea17bbcf6 --- manifests/loadbalancer.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index a40c7c0..4596b50 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -719,6 +719,9 @@ class tripleo::loadbalancer ( if $glance_registry { haproxy::listen { 'glance_registry': ipaddress => hiera('glance_registry_vip', $controller_virtual_ip), + options => { + 'option' => [ ], + }, ports => 9191, collect_exported => false, } @@ -803,6 +806,9 @@ class tripleo::loadbalancer ( if $ceilometer { haproxy::listen { 'ceilometer': bind => $ceilometer_bind_opts, + options => { + 'option' => [ ], + }, collect_exported => false, } haproxy::balancermember { 'ceilometer': @@ -917,6 +923,9 @@ class tripleo::loadbalancer ( if $ironic { haproxy::listen { 'ironic': bind => $ironic_bind_opts, + options => { + 'option' => [ 'httpchk GET /' ], + }, collect_exported => false, } haproxy::balancermember { 'ironic': -- cgit 1.2.3-korg