[node3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[node3][WARNIN] node3 is not defined in `mon initial members`
[node3][WARNIN] monitor node3 does not exist in monmap
[node3][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node3.asok mon_status
[node3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[node3][WARNIN] monitor: mon.node3, might not be running yet
解决办法:
修改集群下面的ceph.conf配置文件(增加mon节点主机名和IP地址)以及增加public network
完整配置文件如下
[global] fsid = 57e0373d-3f5e-453f-a172-3004586b3a54 mon_initial_members = node1,node2,node3 mon_host = 172.18.1.227,172.18.1.228,172.18.1.229 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx public network = 172.18.1.0/24重新在执行mon节点添加命令
[root@node1 cluster]# ceph-deploy --overwrite-conf mon add node3 --address 172.18.1.229