[rabbitmq-discuss] Why is it so difficult to setup clustering ?

Simon MacMullen simon at rabbitmq.com
Fri May 30 14:35:46 BST 2014


On 30/05/2014 2:08PM, John Smith wrote:
> If I try clustering from U12 to U14, I get :
>
> Error: {'EXIT',
>             {function_clause,
>                 [{rabbit_control,action,
>                      [join_cluster,'rabbit at U12',
>                       ["rabbit at U14"],
>                       [{"-p","/"},{"-n","rabbit at U14"},{"-q",false}],
>                       #Fun<rabbit_control.1.115240681>],
>                      []},
>                  {rabbit_control,start,0,[]},
>                  {init,start_it,1,[]},
>                  {init,start_em,1,[]}]}}

That is a very odd looking error. The rabbit_control module was renamed 
to rabbit_control_main in 3.0.0, the same release in which cluster was 
changed to join_cluster.

So that looks like somehow you have a modern rabbitmqctl mixed in with 
an old (2.x) RabbitMQ server.

> If I try from U14 to U12, I get :
>
> Clustering node 'rabbit at U14' with 'rabbit at U12' ...
> Error: unable to connect to nodes ['rabbit at U12]:
> {'EXIT',{undef,[{rabbit_mnesia,cluster_status_from_mnesia,[],[]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,[114,112,99,46,101,114,108]},{line,205}]}]}}

That's also consistent with U12 running an old rabbit.

So I don't know how your installation on U12 has progressed but it has 
definitely become mixed up somehow. That should be impossible if just 
using .debs, so have you installed via some other mechanism as well?

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list