lilili 发表于 2015-10-4 15:34:43

ceph monitor

执行ceph-deploy mon create-initial报错Unable to find /etc/ceph/ceph.client.admin.keyring on mon,请问ceph.client.admin.keyring在执行什么命令时产生的?deploy目录下没有找到

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:

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/ceph-users@lists.ceph.com/msg03506.html (problem)
https://www.mail-archive.com/ceph-users@lists.ceph.com/msg03580.html (solution)

lilili 发表于 2015-10-6 18:51:01

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



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

lilili 发表于 2015-10-19 19:50:17

已解决
页: [1]
查看完整版本: ceph monitor