Skip to content

rejoining the cluster failing #1958

@pasztorl

Description

@pasztorl

I created a 3 node rabbitmq cluster with the operator.
For failover testing i deleted the PVC and the pod rabbitmq-server-1, so the pod restarted with a new, empty PV.
Then rabbitmq-server-1 can't join the cluster but created an another one. Here is the log:

2025-09-20 15:43:17.356782+00:00 [notice] <0.18879.0> Feature flags: nodes `[email protected]` and `[email protected]` are compatible
2025-09-20 15:43:17.357647+00:00 [error] <0.18879.0> Mnesia: node '[email protected]' thinks it's clustered with node '[email protected]', but '[email protected]' disagrees
2025-09-20 15:43:17.357694+00:00 [warning] <0.18879.0> Peer discovery: could not auto-cluster with node '[email protected]': {error,{inconsistent_cluster,"Mnesia: node '[email protected]' thinks it's clustered with node '[email protected]', but '[email protected]' disagrees"}}
2025-09-20 15:43:17.357797+00:00 [debug] <0.18879.0> Peer discovery: lock released
2025-09-20 15:43:17.357824+00:00 [info] <0.18879.0> Peer discovery: will try to unlock with peer discovery backend rabbit_peer_discovery_k8s
2025-09-20 15:43:17.358007+00:00 [error] <0.18879.0> Peer discovery: could not discover and join another node; proceeding as a standalone node

Version and environment information

  • RabbitMQ: 4.0.7
  • RabbitMQ Cluster Operator: 2.10.0
  • Kubernetes: 1.32.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions