Bug 1171744 - Configure TCP keepalive setting via puppet-rabbitmq
Summary: Configure TCP keepalive setting via puppet-rabbitmq
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: z2
: 6.0 (Juno)
Assignee: Ivan Chavero
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On: 1167414
Blocks: 1129242
TreeView+ depends on / blocked
 
Reported: 2014-12-08 14:11 UTC by Jason Guiditta
Modified: 2022-07-09 07:55 UTC (History)
19 users (show)

Fixed In Version: openstack-packstack-2014.2-0.12.dev1370.ge46bee1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1167414
Environment:
Last Closed: 2015-04-07 15:10:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-16671 0 None None None 2022-07-09 07:55:04 UTC
Red Hat Product Errata RHSA-2015:0789 0 normal SHIPPED_LIVE Important: openstack-packstack and openstack-puppet-modules security and bug fix update 2015-04-07 19:08:02 UTC

Comment 2 Martin Magr 2014-12-12 14:50:36 UTC
I agree with Ryan [1]. This is not the Packstack case. Closing.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1167414#c9

Comment 3 Jason Guiditta 2014-12-12 16:11:43 UTC
It may not be used by packstack, but the fix is needed in puppet-rabbit, it cannot currently be configured as needed, please see the recap I wrote at the top of the BZ (config file change re-pasted below to attempt to make this easier to follow). We have handled the relevant bits for HA/pacemaker in quickstack, but the puppet-rabbit template needs changes to look as described when setting $tcp_keepalive = true.  Currently the template file has:

<%- if @tcp_keepalive -%>
    {tcp_listen_options, [{keepalive, true}]},
<%- end -%>

(in /usr/share/openstack-puppet/modules/rabbitmq/templates/rabbitmq.config.erb)

We need it to look like this instead:

+    {tcp_listen_options, [binary,
+                                {packet, raw},
+                                {reuseaddr, true},
+                                {backlog, 128},
+                                {nodelay, true},
+                                {exit_on_close, false},
+                                {keepalive, true}]}
+  ]},

Comment 4 Ivan Chavero 2014-12-16 20:48:37 UTC
The proper place to fix this problem is on the installer and not in the module. This has been taken care of in the current packstack version.

Comment 9 Ido Ovadia 2015-03-18 17:04:57 UTC
Verified
=========
openstack-packstack-2014.2-0.17.dev1462.gbb05296.el7ost.noarch


All the expected settings were found in these files:
/etc/rabbitmq/rabbitmq.config
/etc/sysctl.d/99-sysctl.conf
/usr/share/openstack-puppet/modules/rabbitmq/templates/rabbitmq.config.erb

Comment 13 errata-xmlrpc 2015-04-07 15:10:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0789.html


Note You need to log in before you can comment on or make changes to this bug.