[fule-library] Use HTTP health-checks in Haproxy

Bug #1394520 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Medium
Aleksandr Didenko
6.1.x
New
Medium
Aleksandr Didenko

Bug Description

Currently we don't use http checks (L7) for the most of backends in Haproxy, so it uses TCP connection checks (L4) by default. Switching to HTTP checks should improve backend problem detection and thus improve services availability.

Currently only 'horizon' and 'mysql' backends use L7 checks.

For the following backends:

cinder-api
glance-api
heat-api
heat-api-cfn
heat-api-cloudwatch
keystone-1
keystone-2
neutron
nova-api-2
nova-metadata-api

it could be enabled with the following options right away (tested on live Juno env):

option => ['httpchk', 'httplog','httpclose'],

In addition I suggest to use these options to lower HTTP check rate (default interval is 2s):

balancermember_options => inter 10s fastinter 2s downinter 3s rise 3 fall 3

tags: added: low-hanging-fruit
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.