fuel-library/debian
Vladimir Kuklin 42df864217 Make HAProxy check of swift proxy backends via management VIP
W/o this fix, when the management interface on the controller node
running a Swift proxy is down, HAProxy would fail to update
its backend status at the storage network.

This is a problem as we want swift backends not able to connect the
swift endpoint via the management VIP to be marked down. Othewise,
responces time for any requested swift commands would be drastically
longer. Simple httpcheck option cannot resolve this because the swift
healthcheck reports OK, if conntacted via the storage network.

In order to fix this, simple healthcheck script is implemented.
This script is running as HTTP xinetid service at TCP port 49001 and
is accessible only from the localhost, 240.0.0.2, and storage plus
management networks. The service verifies the node under check for the:
a) management VIP is pingable via ICMP (by 3 packets)
b) Swift endpoint is reachable by TCP-connect via the local storage address
within 5 seconds connection timeout
c) Swift healthcheck report via the local storage address endpoint is OK

Reports an HTTP 200 OK, if all of the results are OK.
Otherwise, it would report an HTTP 503 Error.
Expected Swift node control plane failover time will be around 30 seconds.
Swift data plane is not affected.

DocImpact: Reference architecture, swift failover.

Closes-bug: #1459772
Related-bug: #1460623

Change-Id: I55a35b45257763a20f33bd47cb5c57de53558ccf
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-06-01 17:57:41 +03:00
..
source Backward-compatible commit for packaging of fuel-library 2015-04-16 11:23:29 +03:00
changelog Update deb version to 6.1.0 2015-04-22 14:48:58 +03:00
compat Backward-compatible commit for packaging of fuel-library 2015-04-16 11:23:29 +03:00
control All the work done for fuel-library packaging 2015-05-15 02:44:53 +03:00
fuel-ha-utils.install Make HAProxy check of swift proxy backends via management VIP 2015-06-01 17:57:41 +03:00
fuel-misc.install Fix fuel-logrotate file installation 2015-05-27 15:36:40 +03:00
fuel-rabbit-fence.install All the work done for fuel-library packaging 2015-05-15 02:44:53 +03:00
fuel-rabbit-fence.upstart Ensure the rabbit-fence daemon started and respawned 2015-05-23 00:09:33 +00:00
rules Fix fuel-logrotate file installation 2015-05-27 15:36:40 +03:00