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

John Smith gb10hkzo-rabbitmq at yahoo.co.uk
Fri May 30 16:22:01 BST 2014


Afraid you have to point the finger straight at what's on the apt repository... neither RabbitMQ or Erlang were on either server prior to today.  So whatever got on there came straight from the repositories. 



On Friday, 30 May 2014, 14:35, Simon MacMullen <simon at rabbitmq.com> wrote:
 


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140530/2e80e4b8/attachment.html>


More information about the rabbitmq-discuss mailing list