Try ceph auth del osd.1

And then repeat step 6

–––– 
Sébastien Han 
Cloud Engineer 

"Always give 100%. Unless you're giving blood.” 

Phone: +33 (0)1 49 70 99 72 
Mail: sebastien....@enovance.com 
Address : 11 bis, rue Roquépine - 75008 Paris
Web : www.enovance.com - Twitter : @enovance 

On 08 Apr 2014, at 16:26, Srinivasa Rao Ragolu <srag...@mvista.com> wrote:

> Correct error as below
> Error EINVAL: entity osd.1 exists but key does not match
> 
> 
> On Tue, Apr 8, 2014 at 7:51 PM, Srinivasa Rao Ragolu <srag...@mvista.com> 
> wrote:
> Hi,
> 
> I am trying to setup ceph cluster without using ceph-deploy.
> 
> Followed the link http://ceph.com/docs/master/install/manual-deployment/
> 
> Successfully able to create monitor node and results are as expected
> 
> I have copied ceph.conf and ceph.client.admin.keyring from monitor node to 
> OSD node.
> 
> 
> ceph.conf
> [global]
> fsid = a7f64266-0894-4f1e-a635-d0aeaca0e993
> mon initial members = mon
> mon host = 10.162.xx.yy
> auth cluster required = cephx
> auth service required = cephx
> auth client required = cephx
> osd journal size = 1024
> filestore xattr use omap = true
> osd pool default size = 2
> osd pool default min size = 1
> osd pool default pg num = 333
> osd pool default pgp num = 333
> osd crush chooseleaf type = 1
> 
> --------------
> 
> On OSD node executed followed steps:(All executed in super user mode)
> --------------------------------------------------------
> 1) ceph osd create
>   result: 1
> 
> 2) mkdir /var/lib/ceph/osd/ceph-1
> 
> 3) mkfs -t ext4 /dev/sdb1
> 
> 4) mount -o user_xattr /dev/sdb1 /var/lib/ceph/osd/ceph-1
> 
> 5) ceph-osd -i 1 --mkfs --mkkey
> 
> 6) ceph auth add osd.1 osd 'allow *' mon 'allow rwx' -i 
> /var/lib/ceph/osd/ceph-1/keyring
> 
> Now I got error
> Error EINVAL: entity osd.0 exists but key does not match
> 
> 
> Please help me in resolving this issue. Please let me know what did I missed? 
> Thanks in advance.
> 
> Srinivas.
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Reply via email to