Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1699993

Summary: Erlang crash dump every minute
Product: Red Hat OpenStack Reporter: Chris Hudson <chhudson>
Component: rabbitmq-serverAssignee: Peter Lemenkov <plemenko>
Status: CLOSED ERRATA QA Contact: pkomarov
Severity: high Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: abeekhof, apevec, broose, bshephar, chjones, dhill, jeckersb, lhh, michele, plemenko, pmannidi, rcernin
Target Milestone: z8Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rabbitmq-server-3.6.15-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-03 16:58:10 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:    
Bug Blocks: 1715315    

Comment 2 John Eckersberg 2019-04-15 19:20:14 UTC
Important bits from the case notes, Chris and I were looking at this last week before the BZ was opened...

The crash slogan:

Slogan: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k

Systemtap was used to watch all exec()s and capture the cmdline of the crashing beam.smp.  It looks like:

Fri Apr  5 17:41:51 2019   2013  74073 134463       beam.smp /usr/lib64/erlang/erts-7.3.1.6/bin/beam.smp -- -root /usr/lib64/erlang -progname erl -- -home /var/lib/rabbitmq -- -sname epmd-starter-144528111 -proto_dist "inet_tcp" -noshell -eval halt().

This gets called from rabbit_nodes_common:ensure_epmd here:

https://github.com/rabbitmq/rabbitmq-common/blob/v3.6.x/src/rabbit_nodes_common.erl#L37

Which is called from the rabbit_epmd_monitor process here:

https://github.com/rabbitmq/rabbitmq-server/blob/v3.6.x/src/rabbit_epmd_monitor.erl#L108

The epmd monitor fires the check timer every 60 seconds, thus explaining the regular period seen here.

What is not clear is why the epmd-starter exec fails to start distribution.  There is some initial debugging in the case files around perhaps issues with ipv6 and/or hostname resolution, but it's not apparent that either are responsible.

Everything seems to be functioning properly.  The service is up, registered, epmd is running, everything is clustered.  Just the epmd-starter crashes.  Since epmd is already running, it doesn't have any practical effect on the running system.

Comment 13 Peter Lemenkov 2019-06-14 14:49:02 UTC
*** Bug 1714128 has been marked as a duplicate of this bug. ***

Comment 17 David Hill 2019-07-04 14:24:36 UTC
Customer tried with 3.6.16 and it appears to have solved his problem.

Comment 21 Chris Hudson 2019-07-08 14:01:26 UTC
I will report back on #1 in comment 20. Placing need info on Peter re: #2 & #3.

-Chris

Comment 24 Peter Lemenkov 2019-07-23 15:59:12 UTC
Please, try rabbitmq-server-3.6.15-4.el7ost build. It shouldn't create so many coredumps.

Comment 36 errata-xmlrpc 2019-09-03 16:58:10 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://access.redhat.com/errata/RHBA-2019:2623

Comment 37 Peter Lemenkov 2019-09-12 09:33:16 UTC
*** Bug 1751615 has been marked as a duplicate of this bug. ***