Hi all,

I wonder which is the correct key to create/recreate an additional OSD with 
12.2.5.

Following
http://docs.ceph.com/docs/master/rados/operations/bluestore-migration/#convert-existing-osds,
 I took
one of my old OSD out of the cluster, but failed subsequently recreating it as 
a BlueStor OSD.

I tried "ceph-volume" at first, now got one step further using "ceph-disk" with
"ceph-disk prepare --bluestore /dev/sdh", which completed, I assume 
successfully.

However, "ceph-disk activate" fails with basically the same error as 
"ceph-volume" before,


~# ceph-disk activate /dev/sdh1
command_with_stdin: 2018-07-06 16:23:18.677429 7f905de45700  0 librados: 
client.bootstrap-osd
authentication error (1) Operation not permitted
[errno 1] error connecting to the cluster



Now this test cluster was created under Jewel, where I created OSDs by
"ceph-osd -i $ID --mkfs --mkkey --osd-uuid $UUID"
and
"ceph auth add osd.#{ID} osd 'allow *' mon 'allow profile osd' -i 
/var/lib/ceph/osd/ceph-#{ID}/keyring"

This did not produce any "/var/lib/ceph/bootstrap-osd/ceph.keyring", but I 
found them on my mon hosts.
"ceph-volume" and "ceph-disk" go looking for that file, so I put it there, to 
no avail.



Btw, the target server has still several "up" and "in" OSDs running, so this is 
not a question of
network or general authentication issues.

Cheers,
Thomas
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to