Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help
root@cephtest1:/srv# cp /srv/ceph.keyring /etc/ceph/client.admin.keyring root@cephtest1:/srv# ceph -w 2012-05-30 09:26:40.336175pg v572: 2880 pgs: 2880 active+clean; 0 bytes data, 544 MB used, 2039 GB / 2039 GB avail 2012-05-30 09:26:40.342175 mds e1: 0/0/1 up 2012-05-30 09:26:40.342207 osd e17: 15 osds: 15 up, 15 in 2012-05-30 09:26:40.342331 log 2012-05-30 09:06:35.419340 osd.9 10.3.94.28:6812/13794 260 : [INF] 2.3bb scrub ok 2012-05-30 09:26:40.342424 mon e1: 3 mons at {a=10.3.94.27:6789/0,b=10.3.94.28:6789/0,c=10.3.94.29:6789/0} Ok, the fun will begin now :) - Mail original - De: "Alexandre DERUMIER" À: "Stefan Priebe - Profihost AG" Cc: ceph-devel@vger.kernel.org Envoyé: Mercredi 30 Mai 2012 09:33:40 Objet: Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help ok ,thanks I had created the cluster, following the official doc http://ceph.com/docs/master/config-cluster/deploying-ceph-with-mkcephfs/ with mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring and file was created in /srv # cat /srv/ceph.keyring [client.admin] key = AQCQwcVPGIAwHhAAuS5Veg7GoOyzh59zq2TKag== is it an error in documentation ? - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: ceph-devel@vger.kernel.org Envoyé: Mercredi 30 Mai 2012 09:25:56 Objet: Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help Am 30.05.2012 09:20, schrieb Alexandre DERUMIER: > > Hi, > I'm building my rados test cluster, > > > 3 servers,with on each server : 1 mon - 5 osd > > mon daemon and osd are started, but when i use ceph command, it's missing > client.admin.keyring > > root@cephtest1:/etc/ceph# ceph -w > 2012-05-30 09:05:35.255619 7fd1e9cfa760 -1 auth: failed to open keyring from > /etc/ceph/client.admin.keyring > 2012-05-30 09:05:35.255631 7fd1e9cfa760 -1 monclient(hunting): failed to open > keyring: (2) No such file or directory > 2012-05-30 09:05:35.255693 7fd1e9cfa760 -1 ceph_tool_common_init failed. Just run: mkcephfs -a -c /etc/ceph/ceph.conf -k /etc/ceph/client.admin.keyring and it will create the admin key for you. Stefan -- -- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- -- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help
ok ,thanks I had created the cluster, following the official doc http://ceph.com/docs/master/config-cluster/deploying-ceph-with-mkcephfs/ with mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring and file was created in /srv # cat /srv/ceph.keyring [client.admin] key = AQCQwcVPGIAwHhAAuS5Veg7GoOyzh59zq2TKag== is it an error in documentation ? - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: ceph-devel@vger.kernel.org Envoyé: Mercredi 30 Mai 2012 09:25:56 Objet: Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help Am 30.05.2012 09:20, schrieb Alexandre DERUMIER: > > Hi, > I'm building my rados test cluster, > > > 3 servers,with on each server : 1 mon - 5 osd > > mon daemon and osd are started, but when i use ceph command, it's missing > client.admin.keyring > > root@cephtest1:/etc/ceph# ceph -w > 2012-05-30 09:05:35.255619 7fd1e9cfa760 -1 auth: failed to open keyring from > /etc/ceph/client.admin.keyring > 2012-05-30 09:05:35.255631 7fd1e9cfa760 -1 monclient(hunting): failed to open > keyring: (2) No such file or directory > 2012-05-30 09:05:35.255693 7fd1e9cfa760 -1 ceph_tool_common_init failed. Just run: mkcephfs -a -c /etc/ceph/ceph.conf -k /etc/ceph/client.admin.keyring and it will create the admin key for you. Stefan -- -- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: building test cluster : missing /etc/ceph/client.admin.keyring, need help
Am 30.05.2012 09:20, schrieb Alexandre DERUMIER: > > Hi, > I'm building my rados test cluster, > > > 3 servers,with on each server : 1 mon - 5 osd > > mon daemon and osd are started, but when i use ceph command, it's missing > client.admin.keyring > > root@cephtest1:/etc/ceph# ceph -w > 2012-05-30 09:05:35.255619 7fd1e9cfa760 -1 auth: failed to open keyring from > /etc/ceph/client.admin.keyring > 2012-05-30 09:05:35.255631 7fd1e9cfa760 -1 monclient(hunting): failed to open > keyring: (2) No such file or directory > 2012-05-30 09:05:35.255693 7fd1e9cfa760 -1 ceph_tool_common_init failed. Just run: mkcephfs -a -c /etc/ceph/ceph.conf -k /etc/ceph/client.admin.keyring and it will create the admin key for you. Stefan -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
building test cluster : missing /etc/ceph/client.admin.keyring, need help
Hi, I'm building my rados test cluster, 3 servers,with on each server : 1 mon - 5 osd mon daemon and osd are started, but when i use ceph command, it's missing client.admin.keyring root@cephtest1:/etc/ceph# ceph -w 2012-05-30 09:05:35.255619 7fd1e9cfa760 -1 auth: failed to open keyring from /etc/ceph/client.admin.keyring 2012-05-30 09:05:35.255631 7fd1e9cfa760 -1 monclient(hunting): failed to open keyring: (2) No such file or directory 2012-05-30 09:05:35.255693 7fd1e9cfa760 -1 ceph_tool_common_init failed. root@cephtest1:/etc/ceph# ls /etc/ceph/ ceph.conf osd.0.keyring osd.1.keyring osd.2.keyring osd.3.keyring osd.4.keyring Do I need to generate a keyring ? how can I do it ? /etc/ceph.conf [global] ; use cephx or none auth supported = cephx keyring = /etc/ceph/$name.keyring [mon] mon data = /srv/mon.$id [mds] [osd] osd data = /srv/osd.$id osd journal = /srv/osd.$id.journal osd journal size = 1000 ; uncomment the following line if you are mounting with ext4 ; filestore xattr use omap = true [mon.a] host = cephtest1 mon addr = 10.3.94.27:6789 [mon.b] host = cephtest2 mon addr = 10.3.94.28:6789 [mon.c] host = cephtest3 mon addr = 10.3.94.29:6789 [osd.0] host = cephtest1 addr = 10.3.94.27 [osd.1] host = cephtest1 addr = 10.3.94.27 [osd.2] host = cephtest1 addr = 10.3.94.27 [osd.3] host = cephtest1 addr = 10.3.94.27 [osd.4] host = cephtest1 addr = 10.3.94.27 [osd.5] host = cephtest2 addr = 10.3.94.28 [osd.6] host = cephtest2 addr = 10.3.94.28 [osd.7] host = cephtest2 addr = 10.3.94.28 [osd.8] host = cephtest2 addr = 10.3.94.28 [osd.9] host = cephtest2 addr = 10.3.94.28 [osd.10] host = cephtest3 addr = 10.3.94.29 [osd.11] host = cephtest3 addr = 10.3.94.29 [osd.12] host = cephtest3 addr = 10.3.94.29 [osd.13] host = cephtest3 addr = 10.3.94.29 [osd.14] host = cephtest3 addr = 10.3.94.29 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html