Peer Discovery with DNS record wont cluster #11299
-
Describe the bugI am upgrading from 3.11 to 3.13 and my working peer discovery wont work in the new version. | 1716362235833 | {"time":"2024-05-22 07:17:15.833049+00:00","level":"info","msg":"Addresses discovered via A records of peernodes.mq-nonpci.apse2.lab.securecall.local: 10.10.17.226, 10.10.23.236","pid":"<0.253.0>","domain":"rabbitmq"} Reproduction stepscluster_formation.peer_discovery_backend = dns Expected behaviorThe IP addresses found would be used as peers Additional contextThis was working in 3.11 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
I have turned up debugging and I think it is to do with my load balancer health check not bringing the node up (and putting it into DNS) until it can ping the traffic port. |
Beta Was this translation helpful? Give feedback.
-
Yep, AWS Network Load Balancer is expecting some port available to send TCP requests to for the health check before it will put the IP address in the DNS entry. The traffic port is not available until the clustering has happened so I am stuck in a catch-22. Is there a port which RabbitMQ has open when it starts? I tried 4369 but that doesnt seem to work either. Otherwise we need a config item to bypass this check:
which is a good check but in this instance is not required or desired |
Beta Was this translation helpful? Give feedback.
-
I was able to get this working by adjusting the healthcheck to port 25672 as answered above as well as adjusting healthcheck timers. |
Beta Was this translation helpful? Give feedback.
Port 25672, which is used for Erlang distribution.