rabbitmq_peer_discovery_aws - node unable to join cluster #8954
-
Describe the bugI am trying to set up a cluster of 2 nodes using I have verified the erlang cookies match, that the hosts are able to talk to each other (ping, telnet, AWS Reachability analyzer), the nodes can talk to each other, the config file is really simple and straight forward however I keep getting the following error
Details about the system
Config file
Enabled plugins
Reproduction steps
Expected behaviorShould be able to see cluster formed and nodes joined Additional contextI have verified the security groups for the EC2 instances, inbound is open to all port on the entire VPC CIDR I even tried the AWS Reachability analyzer tools and get success on all ports 4369,5672,25672 I can ping an instance from the other using the instance hostname, I can Telnet on port 5672 I do not find any useful info on Stackoverflow or web serched. Setting debug level does not return any useful info |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Please use Discussions for questions. Peer discovery mechanisms log a lot of details, including HTTP API requests the perform, at debug log level. "nodedown" indicates that nodes cannot contact each other. Again, see logs on both nodes, due to a network connectivity issue or a shared secret mismatch. Cluster formation guide explains the prerequisites for every mechanism, including AWS. By the way, two node clusters are an explicitly unsupported configuration. That is, the cluster will form but… it's all covered in the doc section. |
Beta Was this translation helpful? Give feedback.
-
Since you already have existing cluster members, two more things are worth mentioning:
|
Beta Was this translation helpful? Give feedback.
Please use Discussions for questions.
Peer discovery mechanisms log a lot of details, including HTTP API requests the perform, at debug log level.
"nodedown" indicates that nodes cannot contact each other. Again, see logs on both nodes, due to a network connectivity issue or a shared secret mismatch.
Cluster formation guide explains the prerequisites for every mechanism, including AWS.
ping
is next to useless when it comes to troubleshooting network connectivity because it does not use TCP (and RabbitMQ does).By the way, two node clusters are an explicitly unsupported configuration. That is, the cluster will form but… it's all covered in the doc section.