ceph-deploy mon create 异常失败
ceph-deploy mon create failing with exception
我正在安装一个带有一个监控节点和一个osd 的ceph 集群。
我正在关注文档:http://docs.ceph.com/docs/v0.86/start/quick-ceph-deploy/
在第 5 步中:添加初始监视器并收集密钥(ceph-deploy v1.1.3 中的新功能),
我遇到以下异常:
**[ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory**
[ceph-mon1][WARNIN] monitor: mon.ceph-mon1, might not be running yet
[ceph-mon1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon1.asok mon_status
**[ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-mon1][WARNIN] monitor ceph-mon1 does not exist in monmap**
Just for reference my **ceph.conf** is as follows:
*[global]
fsid = 351948ba-9716-4a04-802d-28b5510bfeb0
mon_initial_members = ceph-mon1,ceph-admin,ceph-osd1
mon_host = xxx.yyy.zzz.78,xxx.yyy.zzz.147,xxx.yyy.zzz.135
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
osd_pool_default_size = 2
public_addr = xxx.yyy.zzz.0*
我试图了解 ceph 用户邮件列表上与 sane 相关的所有问题,但我没有找到针对此问题的精确解决方案。
谁能帮我解决这个问题?
提前致谢。
我遇到了同样的错误能够通过添加我的其他 ceph 节点的主机名和 IpAdrress 并添加 "public_network ="
来解决问题
我在 ceph.conf 中调整的部分是:
mon_initial_members =
mon_host =
public_network =
cat /etc/ceph/ceph.conf
[global]
fsid = 33cb5c76-a685-469e-8cdd-fee7c98c3f4d
mon_initial_members = ceph1,ceph2
mon_host = 192.168.61.39,192.168.61.40
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = 192.168.61.0/24
和 运行 命令:
$ ceph-deploy --overwrite-conf mon create <ceph-node>
我遇到了类似的问题...
我的问题是我的 /etc/hosts 在我的部署服务器和我的目标服务器上的别名主机名是不同的主机名....
始终确保服务器上的主机名与 ceph.conf 中的相同,并且正确的 IP- 主机名与部署框 /etc/hosts 中的相同...
我正在安装一个带有一个监控节点和一个osd 的ceph 集群。 我正在关注文档:http://docs.ceph.com/docs/v0.86/start/quick-ceph-deploy/
在第 5 步中:添加初始监视器并收集密钥(ceph-deploy v1.1.3 中的新功能),
我遇到以下异常:
**[ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory**
[ceph-mon1][WARNIN] monitor: mon.ceph-mon1, might not be running yet
[ceph-mon1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon1.asok mon_status
**[ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-mon1][WARNIN] monitor ceph-mon1 does not exist in monmap**
Just for reference my **ceph.conf** is as follows:
*[global]
fsid = 351948ba-9716-4a04-802d-28b5510bfeb0
mon_initial_members = ceph-mon1,ceph-admin,ceph-osd1
mon_host = xxx.yyy.zzz.78,xxx.yyy.zzz.147,xxx.yyy.zzz.135
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
osd_pool_default_size = 2
public_addr = xxx.yyy.zzz.0*
我试图了解 ceph 用户邮件列表上与 sane 相关的所有问题,但我没有找到针对此问题的精确解决方案。
谁能帮我解决这个问题?
提前致谢。
我遇到了同样的错误能够通过添加我的其他 ceph 节点的主机名和 IpAdrress 并添加 "public_network ="
来解决问题我在 ceph.conf 中调整的部分是:
mon_initial_members =
mon_host =
public_network =
cat /etc/ceph/ceph.conf
[global]
fsid = 33cb5c76-a685-469e-8cdd-fee7c98c3f4d
mon_initial_members = ceph1,ceph2
mon_host = 192.168.61.39,192.168.61.40
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = 192.168.61.0/24
和 运行 命令:
$ ceph-deploy --overwrite-conf mon create <ceph-node>
我遇到了类似的问题...
我的问题是我的 /etc/hosts 在我的部署服务器和我的目标服务器上的别名主机名是不同的主机名....
始终确保服务器上的主机名与 ceph.conf 中的相同,并且正确的 IP- 主机名与部署框 /etc/hosts 中的相同...