root@cephtest1:/srv# cp /srv/ceph.keyring /etc/ceph/client.admin.keyring
root@cephtest1:/srv# ceph -w
2012-05-30 09:26:40.336175    pg 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" <aderum...@odiso.com> 
À: "Stefan Priebe - Profihost AG" <s.pri...@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" <s.pri...@profihost.ag> 
À: "Alexandre DERUMIER" <aderum...@odiso.com> 
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

Reply via email to