FS#59112 - [rabbitmq] 3.7.5-1 incompatible with erlang 21.0-1

Attached to Project: Community Packages
Opened by Mathijs van de Nes (mvdnes) - Friday, 22 June 2018, 20:22 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 07 July 2018, 17:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

Description:

With erlang-nox 21, rabbitmq fails to start.

journalctl gives this output:

Ranch listener {acceptor,{0,0,0,0},5672} connection process start failure; rabbit_connection_sup:start_link/4 crashed with reason: error:{badmatch,{error,{{'EXIT',noproc},{child,undefined,reader,{rabbit_reader,start_link,[<0.567.0>,{acceptor,{0,0,0,0},5672},#Port<0.37>]},intrinsic,30000,worker,[rabbit_reader]}}}}


Additional info:
* rabbitmq 3.7.5-1
* erlang-nox 20.3.8-1 works, 21.0-1 does not work.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Saturday, 07 July 2018, 17:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.7.7-1 compatible with erlang 21
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 June 2018, 11:01 GMT
I'm creating an erlang-nox-20 package.
Comment by Levente Polyak (anthraxx) - Wednesday, 27 June 2018, 11:06 GMT
no don't i gona use rabbitmq version that supports it
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 June 2018, 11:56 GMT
ok
Comment by George G. (GeorgeTG) - Wednesday, 27 June 2018, 19:14 GMT
https://groups.google.com/forum/#!topic/rabbitmq-users/TcXyFM-5SPM

Only a beta(?) version supports OTP21.
As you can see here:
http://www.rabbitmq.com/which-erlang.html
maximum supported version is 20.3.x.
Here is the OTP21 support issue on github:
https://github.com/rabbitmq/rabbitmq-server/issues/1616

Maybe an errlang-nox-20 package is required after all ?
Comment by Sam Kuffer (skuffer) - Friday, 29 June 2018, 14:36 GMT
a build with erlang-20 would be nice.
Comment by Nate (Nateisonfire) - Friday, 29 June 2018, 17:08 GMT
Had the same issue today. Took me forever to figure out how. But I just downgraded my erlang to 20 and it worked.
Comment by Levente Polyak (anthraxx) - Friday, 29 June 2018, 17:10 GMT
Upgrade will arrive within 24h running some local tests on my cluster and the RC2 is already available. I don't expect any severe fixes before the final release so this is an exceptional case where imping to RC makes sense.
Comment by Sergej Pupykin (sergej) - Sunday, 01 July 2018, 22:42 GMT
ejabberd also looks incompatible with erlang-21
Comment by Alexander F. Rødseth (xyproto) - Monday, 02 July 2018, 18:28 GMT
unless ejabberd have a fix in the making, perhaps an "erlang-nox-20" package would be helpful after all?
Comment by Alexander F. Rødseth (xyproto) - Monday, 02 July 2018, 23:32 GMT
erlang-nox-20 is now available.
Comment by Linus Probert (LiquidityC) - Tuesday, 03 July 2018, 07:51 GMT
Does the rabbitmq package also need an update to replace erlang-nox with erlang-nox-20 as a dependency? Or can I force the change somehow?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 03 July 2018, 11:22 GMT
Updated the erlang-nox-20 package. Just installing erlang-nox-20 should do the trick now.
Comment by Mathijs van de Nes (mvdnes) - Thursday, 05 July 2018, 19:56 GMT
According to the releasenotes v3.7.7 (as seen at https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.7.7) is compatible with erlang 21. Should be an easy fix now.

Loading...