Fix HAProxy configuration for controllers

* Do not use option httpcheck for Ceilometer API
* Address TODO for the haproxy.conf at controllers
* Address TODO for Galera HAProxy conf backup directive

Closes-bug: #1516465

Change-Id: I10a9f7d68e24d65d4581e130f2dacdc99c38ac10
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-12-10 13:19:46 +01:00
parent 926c89b06e
commit a21014154d
1 changed files with 5 additions and 4 deletions

View File

@ -180,7 +180,6 @@ file. You need a copy of it on each controller node.
bind <Virtual IP>:8777
balance source
option tcpka
option httpchk
option tcplog
server controller1 10.0.0.1:8777 check inter 2000 rise 2 fall 5
server controller2 10.0.0.2:8777 check inter 2000 rise 2 fall 5
@ -217,11 +216,13 @@ file. You need a copy of it on each controller node.
Note the following:
- The Galera cluster configuration commands indicate
- The Galera cluster configuration directive ``backup`` indicates
that two of the three controllers are standby nodes.
[TODO: be specific about the coding that defines this]
This ensures that only one node services write requests
because OpenStack support for multi-node writes is not yet production-ready.
- [TODO: we need more commentary about the contents and format of this file]
- The Telemetry API service configuration does not have the ``option httpchk``
directive as it cannot process this check properly.
TODO: explain why the Telemetry API is so special
- [TODO: we need more commentary about the contents and format of this file]