debian - Ceph gatherkeys KeyNotFoundError: Could not find keyring file: /etc/ceph/ceph.client.admin.keyring on host node1 -
i have started learning ceph , got error quickly. have spent 4 days solve problem unfortunately without success.
read official documentation quick ceph deploy , same error in 5th point.
not work when setup public_network in ceph.conf:
ceph-deploy mon create-initial
because ceph-deploy gatherkeys not work.
show me same error (i have tried on debian 8.2 , centos 7):
[ceph_deploy.gatherkeys] [warnin] unable find /etc/ceph/ceph.client.admin.keyring on node1 [ceph_deploy] [error ] keynotfounderror: not find keyring file: /etc/ceph/ceph.client.admin.keyring on host node1
i have 4 nodes in tutorial: admin-node, node1, node2, node3
have ssh conection without password.
steps:
1. ceph-deploy new node1 (ok)
2. cange ceph.conf in my-cluster folder:
osd_pool_default_size = 2
public_network = 10.0.0.0/24
(ok)
3. ceph-deploy install admin-node node1 node2 node3 (ok)
4. ceph-deploy mon create-initial (error)
can explain me doing wrong?
it has been happened because in ceph.conf must set mon ip in public network not in private. , had mon ip : 192.168.57.101 (which private) public network was: 10.0.2.0/24.
Comments
Post a Comment