Bug 1171744
| Summary: | Configure TCP keepalive setting via puppet-rabbitmq | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jason Guiditta <jguiditt> |
| Component: | openstack-packstack | Assignee: | Ivan Chavero <ichavero> |
| Status: | CLOSED ERRATA | QA Contact: | Ido Ovadia <iovadia> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 (Juno) | CC: | aberezin, ajeain, aortega, cwolfe, derekh, dmaley, dnavale, fdinitto, ichavero, jguiditt, majopela, mburns, mmagr, morazi, oblaut, rhos-maint, rohara, sclewis, yeylon |
| Target Milestone: | z2 | Keywords: | Reopened, TestOnly, ZStream |
| Target Release: | 6.0 (Juno) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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 15:10:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1167414 | ||
| Bug Blocks: | 1129242 | ||
|
Comment 2
Martin Magr
2014-12-12 14:50:36 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}]}
+ ]},
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. 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 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 |