Replies: 4 comments 8 replies
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
I'm afraid there isn't enough information in this stack trace to tell what prevents nodes from clustering. My best guess is that the "node" argument is not an atom. You haven't provided a list of steps to reproduce. How exactly are you clustering these nodes? Is it using CLI tools or a peer discovery mechanism? If it's the latter, what is in the config file? You can be using the wrong data type for node names. What is in the logs of both nodes? |
Beta Was this translation helpful? Give feedback.
-
For nodes to be able to join each other, they must satisfy a number of requirements:
I recommend using the classic config peer discovery option instead of CLI tools. Without a detailed set of steps you use, we cannot suggest much more. There is no evidence of a RabbitMQ or runtime bug of any kind. |
Beta Was this translation helpful? Give feedback.
-
You can add If instead of manual clustering you'd use classic config peer discovery, nodes will log any errors, and that might contain additional context. Note that both nodes will use a startup delay when starting as blank nodes with peer discovery configured, by design. This should not surprise you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have posted my problem on the google groups and didn´t got any response.
So this is my problem:
I cannot create a cluster of two windows machines running the same rabbitmq Version and erlang version. (RabbitMQ 3.8.14 and Erlang 23.3.1)
-Both machines ping each other by ip and by its hostname. And for reassuring that i configured the ip and FQDN on the hosts file
-cookie is exactly the same between the folders of the user running the windows service and the windows folder
-All of the ports are opened between both machines (i have done the telnet client test for all ports)
-Both nodes run rabbitmq successfully
-Also run the following commandos stop_app, reset and start_app on the other onde just to guarantee that is all ok.
When i try to join clusters this is the error im getting:
Clustering node rabbit@Machine1 with rabbit@Machine2
Error:
{:badarg, [{:rpc, :rpcify_exception, 2, [file: 'rpc.erl', line: 467]}, {:rpc, :call, 5, [file: 'rpc.erl', line: 410]}, {:lists, :foldl, 3, [file: 'lists.erl', line: 1267]}, {:rabbit_mnesia, :discover_cluster, 1, [file: 'src/rabbit_mnesia.erl', line: 795]}, {:rabbit_mnesia, :join_cluster, 2, [file: 'src/rabbit_mnesia.erl', line: 227]}]}
This are the commands i am doing:
-reset
-stop_app
-join_cluster rabbit@Machine2
This is the group i posted my problem:
https://groups.google.com/g/rabbitmq-users/c/tQBttqsQKz4/m/AbQBqAvcAwAJ
Can you please check what is the problem?
Beta Was this translation helpful? Give feedback.
All reactions