系统集成Ceph

ceph配置mon节点报错?

Ceph 12.2.5版本,4个节点
安装完成后,配置mon的时候,报错:
[root@ceph1 ceph]# ceph-deploy gatherkeys ceph1 ceph2 ceph3 ceph4
ceph_deploy.conf found configuration file at: /root/.cephdeploy.conf
ceph_deploy.cli Invoked (2.0.1): /usr/bin/ceph-deploy gatherkeys ceph1 ceph2 ceph3 ceph4
ceph_deploy.cli ceph-deploy options:
ceph_deploy.cli  username                      : None
ceph_deploy.cli  verbose                       : False
ceph_deploy.cli  overwrite_conf                : False
ceph_deploy.cli  quiet                         : False
ceph_deploy.cli  cd_conf                       : <ceph_deploy.conf.cephdeploy.Conf instance at 0xffff893f8ef0>
ceph_deploy.cli  cluster                       : ceph
ceph_deploy.cli  mon                           : ['ceph1', 'ceph2', 'ceph3', 'ceph4']
ceph_deploy.cli  func                          : <function gatherkeys at 0xffff8947baa0>
ceph_deploy.cli  ceph_conf                     : None
ceph_deploy.cli  default_release               : False
ceph_deploy.gatherkeys Storing keys in temp directory /tmp/tmp30f5kf
ceph1 connected to host: ceph1 
ceph1 detect platform information from remote host
ceph1 detect machine type
ceph1 get remote short hostname
ceph1 fetch remote file
ceph1 Running command: /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.ceph1.asok mon_status
ceph1 Not yet quorum for 'ceph1'

Authorized users only. All activities may be monitored and reported.

Authorized users only. All activities may be monitored and reported.
ceph2 connected to host: ceph2 
ceph2 detect platform information from remote host
ceph2 detect machine type
ceph2 get remote short hostname
ceph2 fetch remote file
ceph2 Running command: /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.ceph2.asok mon_status
ceph2 Not yet quorum for 'ceph2'

Authorized users only. All activities may be monitored and reported.

Authorized users only. All activities may be monitored and reported.
ceph3 connected to host: ceph3 
ceph3 detect platform information from remote host
ceph3 detect machine type
ceph3 get remote short hostname
ceph3 fetch remote file
ceph3 Running command: /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.ceph3.asok mon_status
ceph3 Not yet quorum for 'ceph3'

Authorized users only. All activities may be monitored and reported.

Authorized users only. All activities may be monitored and reported.
ceph4 connected to host: ceph4 
ceph4 detect platform information from remote host
ceph4 detect machine type
ceph4 get remote short hostname
ceph4 fetch remote file
ceph4 Running command: /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.ceph4.asok mon_status
ceph4 Not yet quorum for 'ceph4'
ceph_deploy.gatherkeys Failed to connect to host:ceph1, ceph2, ceph3, ceph4
ceph_deploy.gatherkeys Destroy temp directory /tmp/tmp30f5kf
ceph_deploy RuntimeError: Failed to connect any mon

4个节点的防火前都是关闭的。都能互信无秘访问。
有人知道可能是哪儿有问题么?

参与5

2同行回答

花花世界花花世界系统架构师小太阳
ceph最好是奇数个吧,偶数的话会出现选举问题。显示全部

ceph最好是奇数个吧,偶数的话会出现选举问题。

收起
互联网服务 · 2020-04-14
浏览2721
admkingadmking技术经理互联网
确实是节点数的问题,用3个节点创建,同样的操作就成功了。显示全部

确实是节点数的问题,用3个节点创建,同样的操作就成功了。

收起
系统集成 · 2020-04-14
浏览2799

提问者

admking
技术经理互联网

问题来自

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2020-04-14
  • 关注会员:2 人
  • 问题浏览:3761
  • 最近回答:2020-04-14
  • X社区推广