diff options
author | Giulio Fidente <gfidente@redhat.com> | 2014-12-17 19:06:28 +0100 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2014-12-17 19:07:10 +0100 |
commit | 2f7f4ed50c53e25041bf29d317c5f3358e46e706 (patch) | |
tree | a44b5620cea1dc2d6c8129d337f5db96e1d6a575 | |
parent | f0ba1a632448fb50c0a8754f5d183c4d1f5759f4 (diff) |
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
-rw-r--r-- | overcloud-source.yaml | 4 | ||||
-rw-r--r-- | overcloud-without-mergepy.yaml | 4 |
2 files changed, 8 insertions, 0 deletions
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 |