Ensure public/management VIP is running on host where HAproxy is working.

After 3 failures on given node, HAproxy will be stopped on that node.
After 120s corosync will reset fail-count for this resource, and
administrator can manually start resource again.

If no manually intervention is made, cluster will start this resource
after 15m (cluster-recheck-interval).

Related-Bug: 1320183
Change-Id: I0a236326a06bac79c91d8bab26298d7dccfb418f
Let kernel kill dead TCP connections

1) Kill dead tcp connections in a more effective way:
configure the keepalive routines to wait for 30 secs before sending
the first keepalive probe, and then resend it every 8 seconds.
If no ACK response is received for 3 tries, mark the connection
as broken.
(The defaults are 7200, 75, 9 respectively and provide a *very* poor logic
for dead connections tracking and failover as well)
http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html
2) Set report_interval to 60 seconds and service_down_time to 180
seconds for Nova to let kernel kill dead connections.
3) Fix missing report_interval param usage in nova class.
4) Provide a new openstack::keepalive class in order to configure
networking related sysctls during the 'netconfig' stage.

Change-Id: Ic9d491f4904a5e665278027fc37254003c4b5172
Closes-Bug: #1289200
Fix eval exit code in dockectl check function

Changing "while !" to "until" in order to pass "eval" exit code
correctly to the output when checking docker containers.

Also fixing multiple check for a single container logic.

Also fixing astute container check - "naily" rabbitmq exchange
appears only after first deployment. It should not be there right
after Fuel node deployment.

Closes-bug: #1320241
Change-Id: I1e5394dae87e490c2b99edb4b069dfedc00b62b6
Changed condition in partition method

Fixes wrong condition introduced by
https://review.openstack.org/#/c/92849

Closes-Bug: #1319871
Change-Id: I437ef4c10826852f21cb3e0d435fab72f46cdec3
Merge "Let kernel kill dead TCP connections"
Merge "Ensure public/management VIP is running on host where HAproxy is working."
Merge "Fix eval exit code in dockectl check function"
Merge "Changed condition in partition method"
Use TCPKA for Rabbit cluster

See https://bugs.launchpad.net/oslo.messaging/+bug/856764/comments/19
poke ci

Related-Bug: 1289200
Change-Id: I39684e0a57d05451ecb4786250529518fe142b1d
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fix ubuntu provisioning

This patch fixes partitioning counting. We use kind of
'$(readlink -f $(ls /dev/disk/by-path/foo) )' as a
key for a partitioning counter, but in that particular place
it was like /dev/disk/by-path/foo.

Change-Id: Iafbfcda96d0904ff87781df4d3b04d9293656d04
Closes-Bug: 1319995
Replace concat.rb with latest stdlib equivalent

Sync concat puppet function to fix some bugs

Related-Bug: #1320184
Related-Bug: #1321284

Change-Id: I49a614122469b37b1c4eb2fbc29b0877a4427fbd
Merge "Replace concat.rb with latest stdlib equivalent"
Rabbitmq ocf master/slave (WORK IN PROGRESS)

Closes-bug: #1318936
Change-Id: Ieab7156fee2b70b32dbf5a2852627495cf1b650e
xxx using Pacemaker service provider.

Change-Id: If73aade916b9a1cf4cdf6470da148ae997698863