From 2f7f4ed50c53e25041bf29d317c5f3358e46e706 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Wed, 17 Dec 2014 19:06:28 +0100 Subject: Set more aggressive keepalive timings We want to customize the default kernel keepalive timings and make them more aggressive to workaround lack of hearbeat support in the Oslo RabbitMQ client, see: https://bugs.launchpad.net/oslo.messaging/+bug/856764/comments/19 and https://bugs.launchpad.net/oslo.messaging/+bug/856764/comments/70 Change-Id: Ieac08f595086acb8dd336e33efc705ee0b8a3a87 Closes-Bug: 1301431 Closes-Bug: 1385240 Closes-Bug: 1385234 --- overcloud-source.yaml | 4 ++++ overcloud-without-mergepy.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 5084e386..f9698209 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -929,6 +929,10 @@ resources: - Merge::Map: controller0: {get_attr: [controller0, name]} + sysctl: + net.ipv4.tcp_keepalive_time: 5 + net.ipv4.tcp_keepalive_probes: 5 + net.ipv4.tcp_keepalive_intvl: 1 controller0SSLDeployment: type: OS::Heat::StructuredDeployment properties: diff --git a/overcloud-without-mergepy.yaml b/overcloud-without-mergepy.yaml index ae61ec4b..db9e5671 100644 --- a/overcloud-without-mergepy.yaml +++ b/overcloud-without-mergepy.yaml @@ -658,6 +658,10 @@ resources: list_join: - ',' - {get_attr: [Controller, hostname]} + sysctl: + net.ipv4.tcp_keepalive_time: 5 + net.ipv4.tcp_keepalive_probes: 5 + net.ipv4.tcp_keepalive_intvl: 1 MysqlRootPassword: type: OS::Heat::RandomString -- cgit 1.2.3-korg