[rabbitmq-discuss] Rabbit forgetting users after shutting down both cluster-nodes
lukas
lukas.zielinski at googlemail.com
Fri Jan 13 16:25:56 GMT 2012
Thank you for the tip, Emile.
I think it might have been the reason. Right now however we are unable
to reproduce the problem. Let's see if it happens again..
On 13 Jan., 11:55, Emile Joubert <em... at rabbitmq.com> wrote:
> On 13/01/12 10:41, Emile Joubert wrote:
>
>
>
>
>
>
>
>
>
> > Hi Lukas,
>
> > On 12/01/12 17:18, lukas wrote:
> >> We have a strange problem.
>
> >> Setup: Two rabbitmq-nodes (v. 2.5.1) running as a cluster, one user
> >> (added with rabbitmqctl add_user and set_permissions), system is Linux
> >> 2.6.32
>
> >> The following happens:
>
> >> 1. Both nodes running normally
> >> 2. First node is stopped (rabbitmqctl stop_app) -> our client switches
> >> to 2nd node
> >> 3. Second node is stopped -> client diconnects
> >> 4. First node is started again -> client can't connect because the
> >> user is gone. ( there is only the default user "guest")
>
> >> How can this happen?
>
> > From you description it sounds likely that node2 was the only disc node.
> > You can use the "rabbitmqctl cluster_status" command to confirm. Also
> > note that more recent versions of RabbitMQ will log a warning when the
> > last disc-node leaves the cluster. You should ensure that both nodes are
> > disc-nodes to prevent this problem.
>
> Could you please supply the exact transcript so that I can confirm my
> diagnosis? I'm interested to know whether you performed a "rabbitmqctl
> reset" command between step 3 and 4.
>
> -Emile
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list