Bug 2254076

Summary: rabbitmq 3.11.10 incompatible erlang version 26 caused by >=25 constraint
Product: [Fedora] Fedora Reporter: nurettin <onur.tugcu>
Component: rabbitmq-serverAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: awilliam, lemenkov, rjones
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rabbitmq-server-3.12.10-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-28 01:23:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nurettin 2023-12-11 20:20:30 UTC
This rabbitmq server version

Name         : rabbitmq-server
Version      : 3.11.10
Release      : 1.fc39
Architecture : x86_64
Size         : 22 M
Source       : rabbitmq-server-3.11.10-1.fc39.src.rpm

Is not compatible with this erlang version

Name         : erlang
Version      : 26.1.2
Release      : 1.fc39
Architecture : x86_64
Size         : 23 k
Source       : erlang-26.1.2-1.fc39.src.rpm

See:
https://github.com/rabbitmq/rabbitmq-server/issues/7845




Reproducible: Always

Steps to Reproduce:
To test, run this command

amqp-declare-queue --server=localhost --port=5672 --username=guest --password=guest --vhost=/ -q inbox

you will receive

2023-12-11 23:01:21.425088+03:00 [info] <0.728.0> accepting AMQP connection <0.728.0> ([::1]:44374 -> [::1]:5672)
2023-12-11 23:01:21.429831+03:00 [info] <0.728.0> connection <0.728.0> ([::1]:44374 -> [::1]:5672): user 'guest' authenticated and granted access to vhost '/'
2023-12-11 23:01:21.431944+03:00 [error] <0.728.0>   crasher:
2023-12-11 23:01:21.431944+03:00 [error] <0.728.0>     initial call: rabbit_reader:init/3
2023-12-11 23:01:21.431944+03:00 [error] <0.728.0>     pid: <0.728.0>
2023-12-11 23:01:21.431944+03:00 [error] <0.728.0>     registered_name: []
2023-12-11 23:01:21.431944+03:00 [error] <0.728.0>     exception exit: {unexpected_message,{'EXIT',#Port<0.56>,einval}}



Expected Results:  
expected result is, the amqp-declare-queue command outputs "inbox" to stdout and creates the queue on rabbitmq-server

rabbitmq-server versions < 3.11.17 should depend on erlang 25, not greater or equal to 25. If you constrain it to greater than or equal to, you get 26 from fc39.

Comment 1 nurettin 2023-12-11 20:38:46 UTC
My suggestion is to see if it is possible to package rabbitmq-server 3.11.26.

Comment 2 Adam Williamson 2023-12-19 20:08:29 UTC
well, it's simpler - any rabbitmq 3.11 just does not work with erlang 25. We need 3.12. I am building it ATM.

Comment 3 Adam Williamson 2023-12-19 20:08:43 UTC
I meant erlang 26. sigh.

Comment 4 Fedora Update System 2023-12-19 22:04:05 UTC
FEDORA-2023-ce15bd86f2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ce15bd86f2

Comment 5 Fedora Update System 2023-12-20 01:29:13 UTC
FEDORA-2023-ce15bd86f2 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ce15bd86f2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ce15bd86f2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-12-28 01:23:31 UTC
FEDORA-2023-ce15bd86f2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.