分享

ceph monitor

lilili 发表于 2015-10-4 15:34:43 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 9615
执行ceph-deploy mon create-initial报错Unable to find /etc/ceph/ceph.client.admin.keyring on mon,请问ceph.client.admin.keyring在执行什么命令时产生的?deploy目录下没有找到

已有(3)人评论

跳转到指定楼层
arsenduan 发表于 2015-10-4 18:26:37
检查下面内容
This means that the files

/etc/hosts
/etc/hostname
.ssh/config (only for the admin node)


参考
Unable to find keyring
During the deployment of the monitor nodes (the ceph-deploy <mon> [<mon>] create-initial step), Ceph may complain about missing keyrings:

[ceph_deploy.gatherkeys][WARNIN] Unable to find /etc/ceph/ceph.client.admin.keyring on ['ceph-server']
If this warning is reported (even if the message is not an error), the Ceph cluster will probably not reach an healthy state.

The solution to this problem is to use exactly the same names for the hostnames (i.e., the output of hostname -s) and the Ceph node names.

This means that the files

/etc/hosts
/etc/hostname
.ssh/config (only for the admin node)
and the result of the command hostname -s, all should have the same names for a certain node.

See also:

https://www.mail-archive.com/cep ... h.com/msg03506.html (problem)
https://www.mail-archive.com/cep ... h.com/msg03580.html (solution)


回复

使用道具 举报

lilili 发表于 2015-10-6 18:51:01
arsenduan 发表于 2015-10-4 18:26
检查下面内容
This means that the files

你好,我的hostname和ceph节点的名字是一样的,但是还是会出现这样的问题?请问还可能是哪里有问题呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条