环境
OS版本:
[root@ceph-node2 ~]# uname -a
Linux ceph-node2 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ceph版本:
[root@ceph-node2 ~]# ceph -v
ceph version 12.2.12 (1436006594665279fe734b4c15d7e08c13ebd777) luminous (stable)
hosts
[root@ceph-node1 my-cluster]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.254.221 ceph-node1
192.168.254.222 ceph-node2
192.168.254.223 ceph-node3
在创建monitor的时候,总是提示报错,最终报错信息如下:
[ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum:
[ceph_deploy.mon][ERROR ] ceph-node1
[ceph_deploy.mon][ERROR ] ceph-node3
[ceph_deploy.mon][ERROR ] ceph-node2
在网上找了一些方法,都不行。
hosts文件和hostname是对应的,防火墙也已经关闭了。但是还是不行,希望懂ceph的大佬帮忙看看。下面贴出来整段信息与ceph.conf文件。
ceph.conf
[root@ceph-node1 my-cluster]# cat ceph.conf
[global]
fsid = d82f0b96-6a69-4f7f-9d79-73d5bac7dd6c
mon_initial_members = ceph-node1, ceph-node2, ceph-node3
mon_host = 192.168.254.221,192.168.254.222,192.168.254.223
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = 192.168.254.0/24
osd_pool_default_size = 3
osd_pool_default_min_size = 1
osd_pool_default_pg_num = 8
osd_pool_default_pgp_num = 8
osd_crush_chooseleaf_type = 1
[mon]
mon_clock_drift_allowed = 0.5
[osd]
osd_mkfs_type = xfs
osd_mkfs_options_xfs = -f
filestore_max_sync_interval = 10
filestore_min_sync_interval = 5
filestore_fd_cache_size = 32768
osd op threads = 8
osd disk threads = 4
filestore op threads = 8
max_open_files = 655350
执行命令:ceph-deploy --overwrite-conf mon create-initial
报错信息全文如下:
[root@ceph-node1 my-cluster]# ceph-deploy --overwrite-conf mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.39): /usr/bin/ceph-deploy --overwrite-conf mon create-initial
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : True
[ceph_deploy.cli][INFO ] subcommand : create-initial
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f3720415950>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] func : <function mon at 0x7f3720c97c08>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph-node1 ceph-node2 ceph-node3
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node1 ...
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph-node1][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.7.1908 Core
[ceph-node1][DEBUG ] determining if provided host has same hostname in remote
[ceph-node1][DEBUG ] get remote short hostname
[ceph-node1][DEBUG ] deploying mon to ceph-node1
[ceph-node1][DEBUG ] get remote short hostname
[ceph-node1][DEBUG ] remote hostname: ceph-node1
[ceph-node1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph-node1][DEBUG ] create the mon path if it does not exist
[ceph-node1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-node1/done
[ceph-node1][DEBUG ] create a done file to avoid re-doing the mon deployment
[ceph-node1][DEBUG ] create the init path if it does not exist
[ceph-node1][INFO ] Running command: systemctl enable ceph.target
[ceph-node1][INFO ] Running command: systemctl enable ceph-mon@ceph-node1
[ceph-node1][INFO ] Running command: systemctl start ceph-mon@ceph-node1
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph-node1][DEBUG ] ********************************************************************************
[ceph-node1][DEBUG ] status for monitor: mon.ceph-node1
[ceph-node1][DEBUG ] {
[ceph-node1][DEBUG ] "election_epoch": 0,
[ceph-node1][DEBUG ] "extra_probe_peers": [
[ceph-node1][DEBUG ] "192.168.254.221:6789/0",
[ceph-node1][DEBUG ] "192.168.254.222:6789/0",
[ceph-node1][DEBUG ] "192.168.254.223:6789/0"
[ceph-node1][DEBUG ] ],
[ceph-node1][DEBUG ] "feature_map": {
[ceph-node1][DEBUG ] "mon": {
[ceph-node1][DEBUG ] "group": {
[ceph-node1][DEBUG ] "features": "0x3ffddff8eeacfffb",
[ceph-node1][DEBUG ] "num": 1,
[ceph-node1][DEBUG ] "release": "luminous"
[ceph-node1][DEBUG ] }
[ceph-node1][DEBUG ] }
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] "features": {
[ceph-node1][DEBUG ] "quorum_con": "0",
[ceph-node1][DEBUG ] "quorum_mon": [],
[ceph-node1][DEBUG ] "required_con": "0",
[ceph-node1][DEBUG ] "required_mon": []
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] "monmap": {
[ceph-node1][DEBUG ] "created": "2020-01-16 10:33:06.084367",
[ceph-node1][DEBUG ] "epoch": 0,
[ceph-node1][DEBUG ] "features": {
[ceph-node1][DEBUG ] "optional": [],
[ceph-node1][DEBUG ] "persistent": []
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] "fsid": "d82f0b96-6a69-4f7f-9d79-73d5bac7dd6c",
[ceph-node1][DEBUG ] "modified": "2020-01-16 10:33:06.084367",
[ceph-node1][DEBUG ] "mons": [
[ceph-node1][DEBUG ] {
[ceph-node1][DEBUG ] "addr": "192.168.254.150:6789/0",
[ceph-node1][DEBUG ] "name": "ceph-node1",
[ceph-node1][DEBUG ] "public_addr": "192.168.254.150:6789/0",
[ceph-node1][DEBUG ] "rank": 0
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] {
[ceph-node1][DEBUG ] "addr": "0.0.0.0:0/1",
[ceph-node1][DEBUG ] "name": "ceph-node2",
[ceph-node1][DEBUG ] "public_addr": "0.0.0.0:0/1",
[ceph-node1][DEBUG ] "rank": 1
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] {
[ceph-node1][DEBUG ] "addr": "0.0.0.0:0/2",
[ceph-node1][DEBUG ] "name": "ceph-node3",
[ceph-node1][DEBUG ] "public_addr": "0.0.0.0:0/2",
[ceph-node1][DEBUG ] "rank": 2
[ceph-node1][DEBUG ] }
[ceph-node1][DEBUG ] ]
[ceph-node1][DEBUG ] },
[ceph-node1][DEBUG ] "name": "ceph-node1",
[ceph-node1][DEBUG ] "outside_quorum": [
[ceph-node1][DEBUG ] "ceph-node1"
[ceph-node1][DEBUG ] ],
[ceph-node1][DEBUG ] "quorum": [],
[ceph-node1][DEBUG ] "rank": 0,
[ceph-node1][DEBUG ] "state": "probing",
[ceph-node1][DEBUG ] "sync_provider": []
[ceph-node1][DEBUG ] }
[ceph-node1][DEBUG ] ********************************************************************************
[ceph-node1][INFO ] monitor: mon.ceph-node1 is running
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node2 ...
[ceph-node2][DEBUG ] connected to host: ceph-node2
[ceph-node2][DEBUG ] detect platform information from remote host
[ceph-node2][DEBUG ] detect machine type
[ceph-node2][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.7.1908 Core
[ceph-node2][DEBUG ] determining if provided host has same hostname in remote
[ceph-node2][DEBUG ] get remote short hostname
[ceph-node2][DEBUG ] deploying mon to ceph-node2
[ceph-node2][DEBUG ] get remote short hostname
[ceph-node2][DEBUG ] remote hostname: ceph-node2
[ceph-node2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph-node2][DEBUG ] create the mon path if it does not exist
[ceph-node2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-node2/done
[ceph-node2][DEBUG ] create a done file to avoid re-doing the mon deployment
[ceph-node2][DEBUG ] create the init path if it does not exist
[ceph-node2][INFO ] Running command: systemctl enable ceph.target
[ceph-node2][INFO ] Running command: systemctl enable ceph-mon@ceph-node2
[ceph-node2][INFO ] Running command: systemctl start ceph-mon@ceph-node2
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph-node2][DEBUG ] ********************************************************************************
[ceph-node2][DEBUG ] status for monitor: mon.ceph-node2
[ceph-node2][DEBUG ] {
[ceph-node2][DEBUG ] "election_epoch": 0,
[ceph-node2][DEBUG ] "extra_probe_peers": [
[ceph-node2][DEBUG ] "192.168.254.221:6789/0",
[ceph-node2][DEBUG ] "192.168.254.222:6789/0",
[ceph-node2][DEBUG ] "192.168.254.223:6789/0"
[ceph-node2][DEBUG ] ],
[ceph-node2][DEBUG ] "feature_map": {
[ceph-node2][DEBUG ] "mon": {
[ceph-node2][DEBUG ] "group": {
[ceph-node2][DEBUG ] "features": "0x3ffddff8eeacfffb",
[ceph-node2][DEBUG ] "num": 1,
[ceph-node2][DEBUG ] "release": "luminous"
[ceph-node2][DEBUG ] }
[ceph-node2][DEBUG ] }
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] "features": {
[ceph-node2][DEBUG ] "quorum_con": "0",
[ceph-node2][DEBUG ] "quorum_mon": [],
[ceph-node2][DEBUG ] "required_con": "0",
[ceph-node2][DEBUG ] "required_mon": []
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] "monmap": {
[ceph-node2][DEBUG ] "created": "2020-01-16 10:33:16.000841",
[ceph-node2][DEBUG ] "epoch": 0,
[ceph-node2][DEBUG ] "features": {
[ceph-node2][DEBUG ] "optional": [],
[ceph-node2][DEBUG ] "persistent": []
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] "fsid": "d82f0b96-6a69-4f7f-9d79-73d5bac7dd6c",
[ceph-node2][DEBUG ] "modified": "2020-01-16 10:33:16.000841",
[ceph-node2][DEBUG ] "mons": [
[ceph-node2][DEBUG ] {
[ceph-node2][DEBUG ] "addr": "192.168.254.149:6789/0",
[ceph-node2][DEBUG ] "name": "ceph-node2",
[ceph-node2][DEBUG ] "public_addr": "192.168.254.149:6789/0",
[ceph-node2][DEBUG ] "rank": 0
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] {
[ceph-node2][DEBUG ] "addr": "0.0.0.0:0/1",
[ceph-node2][DEBUG ] "name": "ceph-node1",
[ceph-node2][DEBUG ] "public_addr": "0.0.0.0:0/1",
[ceph-node2][DEBUG ] "rank": 1
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] {
[ceph-node2][DEBUG ] "addr": "0.0.0.0:0/2",
[ceph-node2][DEBUG ] "name": "ceph-node3",
[ceph-node2][DEBUG ] "public_addr": "0.0.0.0:0/2",
[ceph-node2][DEBUG ] "rank": 2
[ceph-node2][DEBUG ] }
[ceph-node2][DEBUG ] ]
[ceph-node2][DEBUG ] },
[ceph-node2][DEBUG ] "name": "ceph-node2",
[ceph-node2][DEBUG ] "outside_quorum": [
[ceph-node2][DEBUG ] "ceph-node2"
[ceph-node2][DEBUG ] ],
[ceph-node2][DEBUG ] "quorum": [],
[ceph-node2][DEBUG ] "rank": 0,
[ceph-node2][DEBUG ] "state": "probing",
[ceph-node2][DEBUG ] "sync_provider": []
[ceph-node2][DEBUG ] }
[ceph-node2][DEBUG ] ********************************************************************************
[ceph-node2][INFO ] monitor: mon.ceph-node2 is running
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node3 ...
[ceph-node3][DEBUG ] connected to host: ceph-node3
[ceph-node3][DEBUG ] detect platform information from remote host
[ceph-node3][DEBUG ] detect machine type
[ceph-node3][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.7.1908 Core
[ceph-node3][DEBUG ] determining if provided host has same hostname in remote
[ceph-node3][DEBUG ] get remote short hostname
[ceph-node3][DEBUG ] deploying mon to ceph-node3
[ceph-node3][DEBUG ] get remote short hostname
[ceph-node3][DEBUG ] remote hostname: ceph-node3
[ceph-node3][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph-node3][DEBUG ] create the mon path if it does not exist
[ceph-node3][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-node3/done
[ceph-node3][DEBUG ] create a done file to avoid re-doing the mon deployment
[ceph-node3][DEBUG ] create the init path if it does not exist
[ceph-node3][INFO ] Running command: systemctl enable ceph.target
[ceph-node3][INFO ] Running command: systemctl enable ceph-mon@ceph-node3
[ceph-node3][INFO ] Running command: systemctl start ceph-mon@ceph-node3
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph-node3][DEBUG ] ********************************************************************************
[ceph-node3][DEBUG ] status for monitor: mon.ceph-node3
[ceph-node3][DEBUG ] {
[ceph-node3][DEBUG ] "election_epoch": 0,
[ceph-node3][DEBUG ] "extra_probe_peers": [
[ceph-node3][DEBUG ] "192.168.254.221:6789/0",
[ceph-node3][DEBUG ] "192.168.254.222:6789/0",
[ceph-node3][DEBUG ] "192.168.254.223:6789/0"
[ceph-node3][DEBUG ] ],
[ceph-node3][DEBUG ] "feature_map": {
[ceph-node3][DEBUG ] "mon": {
[ceph-node3][DEBUG ] "group": {
[ceph-node3][DEBUG ] "features": "0x3ffddff8eeacfffb",
[ceph-node3][DEBUG ] "num": 1,
[ceph-node3][DEBUG ] "release": "luminous"
[ceph-node3][DEBUG ] }
[ceph-node3][DEBUG ] }
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] "features": {
[ceph-node3][DEBUG ] "quorum_con": "0",
[ceph-node3][DEBUG ] "quorum_mon": [],
[ceph-node3][DEBUG ] "required_con": "0",
[ceph-node3][DEBUG ] "required_mon": []
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] "monmap": {
[ceph-node3][DEBUG ] "created": "2020-01-16 10:33:24.179573",
[ceph-node3][DEBUG ] "epoch": 0,
[ceph-node3][DEBUG ] "features": {
[ceph-node3][DEBUG ] "optional": [],
[ceph-node3][DEBUG ] "persistent": []
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] "fsid": "d82f0b96-6a69-4f7f-9d79-73d5bac7dd6c",
[ceph-node3][DEBUG ] "modified": "2020-01-16 10:33:24.179573",
[ceph-node3][DEBUG ] "mons": [
[ceph-node3][DEBUG ] {
[ceph-node3][DEBUG ] "addr": "192.168.254.151:6789/0",
[ceph-node3][DEBUG ] "name": "ceph-node3",
[ceph-node3][DEBUG ] "public_addr": "192.168.254.151:6789/0",
[ceph-node3][DEBUG ] "rank": 0
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] {
[ceph-node3][DEBUG ] "addr": "0.0.0.0:0/1",
[ceph-node3][DEBUG ] "name": "ceph-node1",
[ceph-node3][DEBUG ] "public_addr": "0.0.0.0:0/1",
[ceph-node3][DEBUG ] "rank": 1
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] {
[ceph-node3][DEBUG ] "addr": "0.0.0.0:0/2",
[ceph-node3][DEBUG ] "name": "ceph-node2",
[ceph-node3][DEBUG ] "public_addr": "0.0.0.0:0/2",
[ceph-node3][DEBUG ] "rank": 2
[ceph-node3][DEBUG ] }
[ceph-node3][DEBUG ] ]
[ceph-node3][DEBUG ] },
[ceph-node3][DEBUG ] "name": "ceph-node3",
[ceph-node3][DEBUG ] "outside_quorum": [
[ceph-node3][DEBUG ] "ceph-node3"
[ceph-node3][DEBUG ] ],
[ceph-node3][DEBUG ] "quorum": [],
[ceph-node3][DEBUG ] "rank": 0,
[ceph-node3][DEBUG ] "state": "probing",
[ceph-node3][DEBUG ] "sync_provider": []
[ceph-node3][DEBUG ] }
[ceph-node3][DEBUG ] ********************************************************************************
[ceph-node3][INFO ] monitor: mon.ceph-node3 is running
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][INFO ] processing monitor mon.ceph-node1
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph-node1][DEBUG ] find the location of an executable
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node1 monitor is not yet in quorum, tries left: 5
[ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node1 monitor is not yet in quorum, tries left: 4
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node1 monitor is not yet in quorum, tries left: 3
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node1 monitor is not yet in quorum, tries left: 2
[ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
[ceph-node1][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node1 monitor is not yet in quorum, tries left: 1
[ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
[ceph_deploy.mon][INFO ] processing monitor mon.ceph-node2
[ceph-node2][DEBUG ] connected to host: ceph-node2
[ceph-node2][DEBUG ] detect platform information from remote host
[ceph-node2][DEBUG ] detect machine type
[ceph-node2][DEBUG ] find the location of an executable
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node2 monitor is not yet in quorum, tries left: 5
[ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node2 monitor is not yet in quorum, tries left: 4
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node2 monitor is not yet in quorum, tries left: 3
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node2 monitor is not yet in quorum, tries left: 2
[ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
[ceph-node2][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node2 monitor is not yet in quorum, tries left: 1
[ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
[ceph_deploy.mon][INFO ] processing monitor mon.ceph-node3
[ceph-node3][DEBUG ] connected to host: ceph-node3
[ceph-node3][DEBUG ] detect platform information from remote host
[ceph-node3][DEBUG ] detect machine type
[ceph-node3][DEBUG ] find the location of an executable
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node3 monitor is not yet in quorum, tries left: 5
[ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node3 monitor is not yet in quorum, tries left: 4
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node3 monitor is not yet in quorum, tries left: 3
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node3 monitor is not yet in quorum, tries left: 2
[ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
[ceph-node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node3.asok mon_status
[ceph_deploy.mon][WARNIN] mon.ceph-node3 monitor is not yet in quorum, tries left: 1
[ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
[ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum:
[ceph_deploy.mon][ERROR ] ceph-node1
[ceph_deploy.mon][ERROR ] ceph-node3
[ceph_deploy.mon][ERROR ] ceph-node2
拜托各位指教一下。
<p>mon_initial_members = ceph-node1, ceph-node2, ceph-node3 mon_host = 192.168.254.221,192.168.254.222,192.168.254.223</p>
这个先去掉,等初始化完成再安装试试
谢谢,已经发现问题所在了,应该是我双网卡的原因,双网卡在同一网段,mon自动识别另一块网卡
<p>诶,我没有双网卡,确实一样的问题</p>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。