Bug 2048488 - RHOSP17 Standalone deployment failing to start rabbitmq_wait_bundle container, RabbitMQ version cannot run on Erlang 23.0.4: minimum required version is 23.2 (erts 11.1)
Summary: RHOSP17 Standalone deployment failing to start rabbitmq_wait_bundle container...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rabbitmq-server
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: Alpha
: 17.0
Assignee: Peter Lemenkov
QA Contact: pkomarov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-31 11:12 UTC by Sandeep Yadav
Modified: 2022-09-21 12:19 UTC (History)
5 users (show)

Fixed In Version: rabbitmq-server-3.9.10-2.el9ost erlang-24.2.1-1.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:18:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-12377 0 None None None 2022-01-31 11:17:07 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:19:15 UTC

Description Sandeep Yadav 2022-01-31 11:12:02 UTC
Description of problem:

We are trying RHOSP17 on RHEL9,  Standalone deployment failing to start rabbitmq_wait_bundle container,  RabbitMQ version cannot run on Erlang 23.0.4: minimum required version is 23.2 (erts 11.1)



Version-Release number of selected component (if applicable):

RHOSP17 (on RHEL9)


How reproducible:
Everytime


Steps to Reproduce:
1. Deploy standalone 


Actual results:

Deployment failing with below error:-

standalone_deploy.log:-
~~~
Error: 'rabbitmqctl eval "lists:keymember(rabbit, 1, application:which_applications())." | grep -q true' returned 1 instead of one of [0]
Error: /Stage[main]/Tripleo::Profile::Pacemaker::Rabbitmq_bundle/Exec[rabbitmq-ready]/returns: change from 'notrun' to ['0'] failed: 'rabbitmqctl eval "lists:keymember(rabbit, 1, application:which_applications())." | grep -q true' returned 1 instead of one of [0]
Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Rabbitmq_bundle/Rabbitmq_policy[ha-all@/]: Skipping because of failed dependencies
+ rc=6
+ set -e
+ set +ux
2022-01-31 05:51:42.833478 | fa163e96-237a-cb00-0a8a-000000001944 |      FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-startup-config/step_2 | standalone | error={"changed": false, "msg": "Failed containers: rabbitmq_wait_bundle"}
2022-01-31 05:51:42.834868 | fa163e96-237a-cb00-0a8a-000000001944 |     TIMING | tripleo_container_manage : Create containers managed by Podman for /var/lib/tripleo-config/container-startup-config/step_2 | standalone | 0:46:59.461952 | 1950.02s
~~~

cat /var/log/containers/rabbitmq/startup_log
~~~
[root@standalone rabbitmq]# cat /var/log/containers/rabbitmq/startup_log
2022-01-31 10:18:34.500297+00:00 [erro] <0.126.0> This RabbitMQ version cannot run on Erlang 23.0.4 (erts 11.0.4): minimum required version is 23.2 (erts 11.1)
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0> 
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0> BOOT FAILED
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0> ===========
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0> Error during startup: {error,
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0>                           {erlang_version_too_old,
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0>                               "Erlang 23.2 or later is required, started on 23.0.4"}}
2022-01-31 10:18:34.510960+00:00 [erro] <0.126.0> 
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>     supervisor: {local,rabbit_prelaunch_sup}
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>     errorContext: start_error
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>     reason: {erlang_version_too_old,"Erlang 23.2 or later is required, started on 23.0.4"}
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>     offender: [{pid,undefined},
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>                {id,prelaunch},
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>                {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>                {restart_type,transient},
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>                {shutdown,5000},
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0>                {child_type,worker}]
2022-01-31 10:18:35.515047+00:00 [erro] <0.126.0> 
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>   crasher:
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     initial call: application_master:init/4
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     pid: <0.124.0>
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     registered_name: []
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     exception exit: {{shutdown,
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>                          {failed_to_start_child,prelaunch,
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>                              {erlang_version_too_old,
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>                                  "Erlang 23.2 or later is required, started on 23.0.4"}}},
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>                      {rabbit_prelaunch_app,start,[normal,[]]}}
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>       in function  application_master:init/4 (application_master.erl, line 138)
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     ancestors: [<0.123.0>]
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     message_queue_len: 1
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     messages: [{'EXIT',<0.125.0>,normal}]
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     links: [<0.123.0>,<0.44.0>]
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     dictionary: []
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     trap_exit: true
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     status: running
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     heap_size: 610
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     stack_size: 28
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>     reductions: 212
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0>   neighbours:
2022-01-31 10:18:35.515677+00:00 [erro] <0.124.0> 
2022-01-31 10:18:35.524051+00:00 [noti] <0.44.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{erlang_version_too_old,"Erlang 23.2 or later is required, started on 23.0.4"}}},{rabbit_prelaunch_app,start,[normal,[]]}}
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{erlang_version_too_old,\"Erlang 23.2 or later is required, started on 23.0.4\"}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"}
~~~


Expected results:

Deployment should work


Additional info:

rabbitmq version:-

~~~
# podman exec -it rabbitmq-bundle-podman-0 bash
# rabbitmqctl --version
3.9.10
~~~

Comment 10 errata-xmlrpc 2022-09-21 12:18:51 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.