Description of problem:
RabbitMQ timeout is set to 5000ms (5 seconds) by default in all our deployments.
In some cases if the load on the system or network is too high the 5 second timeout can force RabbitMQ into a split brain situation.
This value is hardcoded in /usr/share/openstack-tripleo-heat-templates/puppet/services/rabbitmq.yaml
Current value:
RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<5000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<5000:64/native>>}]"'
Should be changed to:
RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<30000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<30000:64/native>>}]"'
Version-Release number of selected component (if applicable):
This setting is present in all currently supported versions of RHOSP
How reproducible:
100%
Hi there,
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.
The documentation team will review, edit, and approve the text.
If this bug does not require doc text, please set the 'requires_doc_text' flag to -.
Thanks,
Alex
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://access.redhat.com/errata/RHBA-2018:2670
Description of problem: RabbitMQ timeout is set to 5000ms (5 seconds) by default in all our deployments. In some cases if the load on the system or network is too high the 5 second timeout can force RabbitMQ into a split brain situation. This value is hardcoded in /usr/share/openstack-tripleo-heat-templates/puppet/services/rabbitmq.yaml Current value: RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<5000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<5000:64/native>>}]"' Should be changed to: RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<30000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<30000:64/native>>}]"' Version-Release number of selected component (if applicable): This setting is present in all currently supported versions of RHOSP How reproducible: 100%