3 nodes cluster formation failure randomly using dns mode #14813
Unanswered
jeremy-xu-resolver
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Community Support Policy
RabbitMQ version used
4.1.4
Erlang version used
27.3.x
Operating system (distribution) used
Linux: bottlerocket-aws-ecs-2-aarch64-v1.49.0-713f44ce
How is RabbitMQ deployed?
Community Docker image
rabbitmq-diagnostics status output
See https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)
ip-10-59-135-109. Standalone Node
Logs from node 2 (if applicable, with sensitive values edited out)
ip-10-59-80-177. The only node being able to join a cluster
Logs from node 3 (if applicable, with sensitive values edited out)
ip-10-59-125-51. The leader node?
This is wired
{'rabbit@ip-10-59-149-24',['rabbit@ip-10-59-149-24'],1761269529969988,true}:
this means there is one node at ip-10-59-149-24? but the cluster never had any node with that ip
rabbitmq.conf
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
AWS ECS deployment
Steps to reproduce the behavior in question
Change the desire count from 3 to 1, and back to 3. the cluster will random fail into 3 one-node cluster, or 1 two-node cluster with a standalone node.
advanced.config
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code
# PASTE CODE HERE, BETWEEN BACKTICKSKubernetes deployment file
What problem are you trying to solve?
This is the version showing in the admin console

We are trying to form a 3-node-cluster on AWS ECS using community docker image: rabbitmq:4-management as base image.
We build docker image on our own, by just copying rabbitmq.conf and .erlang.cookie. Have a cluster-startup.sh to inject node name and random wait for the nodes to start up. Cluster name is being updated via cli:
curl -sSf -X PUT -u "$USERNAME:$PASSWORD" "$MANAGEMENT_URL/api/cluster-name" -d "$name"Beta Was this translation helpful? Give feedback.
All reactions