Service are not connecting to RabbitMQ

Bug #2025321 reported by Muhammad Usman Ghani
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
Undecided
Unassigned
Yoga
Fix Committed
Undecided
Unassigned

Bug Description

**Bug Report**

--------------+
What happened |
--------------+
I deployed Single-Node OpenStack(Yoga) using kolla-ansible(14.8.1.dev66). Deployment fails on the step where Nova is registering compute nodes. Upon investigation, I found that all the services that need to connect to rabbitmq their containers keep restarting restarting.

All service logs are prompting the following error:
      "Unhandled error: OSError: Server unexpectedly closed connection"

The reason for this issue is that the RabbitMQ queues are not present for services like cinder, nova, neutron and heat.

----------------------------+
What you expected to happen |
----------------------------+
Queues should be created for all enabled services and deployment should be successful.

--------------------+
How to reproduce it |
--------------------+
Follow this documentation:
"https://docs.openstack.org/kolla-ansible/yoga/user/quickstart.html"

**Environment**
* OS = Ubuntu-22.04
* Kernel = Linux openstack 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
* Docker version = 24.0.2, build cb74dfc
* Kolla-Ansible version = 14.8.1.dev66
* Docker image Install type = source
* Docker image distribution = yoga
* Are you using official images from Docker Hub or self-built = official images

Tags: rabbitmq yoga
Revision history for this message
Muhammad Usman Ghani (usmanghani) wrote :
Revision history for this message
Muhammad Usman Ghani (usmanghani) wrote :
tags: added: yoga
Revision history for this message
Alejandro Garcia (agarciaws) wrote :

Hi Muhammad, I've just run into the same issue. It seems it might be related to https://bugs.launchpad.net/kolla-ansible/+bug/2023668

tl;dr: Yoga uses RabbitMQ 3.9, which is not compatible with latest Erlang 26.

In my environment, I have seen this incompatibility:

(rabbitmq)[root@node-0 /]# rabbitmqctl --version
3.9.29
(rabbitmq)[root@node-0 /]# erl --version
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

no longer affects: kolla-ansible
Changed in kolla:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/897352
Committed: https://opendev.org/openstack/kolla/commit/26de85f2f44fe3dce367dd171672bd84f58e280e
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 26de85f2f44fe3dce367dd171672bd84f58e280e
Author: Michal Nasiadka <email address hidden>
Date: Wed Oct 4 18:52:02 2023 +0200

    [yoga-only]: Fix erlang versions

    According to [1] - RMQ 3.9 supports Erlang 25.2 at maximum.

    Unfortunately there is no repository that provides erlang 25.2
    for aarch64, so it will stay on 25.3 which proves to be bringing
    some issues.

    [1]: https://www.rabbitmq.com/which-erlang.html

    Closes-Bug: #2025321

    Change-Id: Ibfefccda9368ab46facf175024c03807d62ea1f7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.