Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1171744 - Configure TCP keepalive setting via puppet-rabbitmq
Configure TCP keepalive setting via puppet-rabbitmq
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
6.0 (Juno)
Unspecified Unspecified
high Severity urgent
: z2
: 6.0 (Juno)
Assigned To: Ivan Chavero
Ido Ovadia
: Reopened, TestOnly, ZStream
Depends On: 1167414
Blocks: 1129242
  Show dependency treegraph
 
Reported: 2014-12-08 09:11 EST by Jason Guiditta
Modified: 2016-04-26 12:26 EDT (History)
19 users (show)

See Also:
Fixed In Version: openstack-packstack-2014.2-0.12.dev1370.ge46bee1.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1167414
Environment:
Last Closed: 2015-04-07 11:10:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0789 normal SHIPPED_LIVE Important: openstack-packstack and openstack-puppet-modules security and bug fix update 2015-04-07 15:08:02 EDT

  None (edit)
Comment 2 Martin Magr 2014-12-12 09:50:36 EST
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 11:11:43 EST
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 15:48:37 EST
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 13:04:57 EDT
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 11:10:04 EDT
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.