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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to