kolla部署(Octata)——rabbitmq多节点高可用启动失败问题

现象: 从节点的rabbitmq启动失败

问题定位:

docker logs rabbitmq 

=INFO REPORT==== 7-Jun-2017::14:56:36 ===
Multiple different configurations with equal version numbers detected. Shutting down.
[ {node_id,<<24,158,49,51,188,168,80,197,82,239,249,93,55,200,22,254>>},
 {node_ids,[{rabbit@compute01,<<24,158,49,51,188,168,80,197,82,239,249,93,
                            55,200,22,254>>}]},
 {gospel,{node,rabbit@controller01}},
 {nodes,[{rabbit@compute01,disc},{rabbit@controller01,disc}]},
 {version,1}]

发现版本的version编号和rabbitmq-cluster的主节点一样,都是1

解决问题方法:
查看配置文件cat /etc/kolla/rabbitmq/rabbitmq-clusterer.config,将version 1 改成2。(后续可以在kolla-ansible中修改)

[
  {version, 2},    # 原来是1
  {nodes, [
      {'rabbit@controller01', disc},      {'rabbit@compute01', disc}    ]},
  {gospel,
    {node, 'rabbit@controller01'}}

].

你可能感兴趣的:(kolla部署(Octata)——rabbitmq多节点高可用启动失败问题)