Re: ceph-deploy stuck, unable to find keyring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please create /var/lib/{odd,mon,msd,mon,odd,bootstrap-osd} folders.
Be in the path of /etc/cepf/conf directory. Execute "ceph-deploy gatherkeys monitor node". Then u should be able to see below keyrings in /etc/ceph/conf

-rw-r--r-- 1 root root 72 Oct 25 16:33 ceph.bootstrap-mds.keyring
-rw-r--r-- 1 root root 72 Oct 25 16:33 ceph.bootstrap-osd.keyring
-rw------- 1 root root 64 Oct 25 16:32 ceph.client.admin.keyring
-rw-r--r-- 1 root root 189 Oct 25 16:25 ceph.conf
-rw-r--r-- 1 root root 11867 Oct 25 16:33 ceph.log
-rw-r--r-- 1 root root 73 Oct 25 16:25 ceph.mon.keyring

Now try other steps..all the best.

Srinivas

Hi,


I tried to follow the instructions here to set up my Ceph cluster:

http://ceph.com/docs/master/start/quick-ceph-deploy/


However, I get into stuck in step 4.

It seems that some keys are missing (I also checked those folders). But I don't know in which step are these keys created. Is it in step 1 (ceph-deploy new) or step 2 (ceph-deploy install)? Thanks in advance.

 

The command line output is as follows. compute1 is my ceph monitor.


[ceph_deploy.mon][INFO  ] processing monitor mon.compute1

[compute1][DEBUG ] connected to host: compute1

[compute1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.compute1.asok mon_status

[ceph_deploy.mon][INFO  ] mon.compute1 monitor has reached quorum!

[ceph_deploy.mon][INFO  ] all initial monitors are running and have formed quorum

[ceph_deploy.mon][INFO  ] Running gatherkeys...

[ceph_deploy.gatherkeys][DEBUG ] Checking compute1 for /etc/ceph/ceph.client.admin.keyring

[compute1][DEBUG ] connected to host: compute1

[compute1][DEBUG ] detect platform information from remote host

[compute1][DEBUG ] detect machine type

[compute1][DEBUG ] fetch remote file

[ceph_deploy.gatherkeys][WARNIN] Unable to find /etc/ceph/ceph.client.admin.keyring on ['compute1']

[ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring

[ceph_deploy.gatherkeys][DEBUG ] Checking compute1 for /var/lib/ceph/bootstrap-osd/ceph.keyring

[compute1][DEBUG ] connected to host: compute1

[compute1][DEBUG ] detect platform information from remote host

[compute1][DEBUG ] detect machine type

[compute1][DEBUG ] fetch remote file

[ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['compute1']

[ceph_deploy.gatherkeys][DEBUG ] Checking compute1 for /var/lib/ceph/bootstrap-mds/ceph.keyring

[compute1][DEBUG ] connected to host: compute1

[compute1][DEBUG ] detect platform information from remote host

[compute1][DEBUG ] detect machine type

[compute1][DEBUG ] fetch remote file

[ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['compute1']


--
Bill Chang

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux