Hi all,
I'm having problem creating an osd using ceph-volume (by the way of cephadm).
This is on an octopus installation with cephadm. So I use "cephadm shell" and
then "ceph-volume" but got the following error:
root@furry:/var/lib# ceph-volume lvm prepare --data /dev/sda --block.db
/dev/vg/sda.db --dmcrypt
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd
--keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new
29d95564-733d-4f2a-a2c8-1bb9ceb5a14b
stderr: [errno 13] RADOS permission denied (error connecting to the cluster)
--> RuntimeError: Unable to create a new OSD id
if I pass the cluster ID, and use the correct key ring (using the client.admin
keyring), I got a bit further
root@furry:/var/lib# ceph-volume --cluster c258000c-f3e4-11ea-9ebe-c3c75e8e9028
lvm prepare --data /dev/sda --block.db /dev/vg/sda.db --dmcrypt
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph --cluster c258000c-f3e4-11ea-9ebe-c3c75e8e9028
--name client.bootstrap-osd --keyring
/var/lib/ceph/bootstrap-osd/c258000c-f3e4-11ea-9ebe-c3c75e8e9028.keyring -i -
osd new aa13c362-c9cf-4d03-9a86-d6118fbc312c
stderr: Error initializing cluster client: ObjectNotFound('RADOS object not
found (error calling conf_read_file)',)
--> RuntimeError: Unable to create a new OSD id
Any idea on how to get pass these errors? Thanks.
--Tri Hoang
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]