Hi,
Trying to create a new OSD following the instructions available at
https://docs.ceph.com/docs/master/rados/operations/add-or-rm-osds/
On step 3 I'm instructed to run "ceph-osd -i {osd-num} --mkfs
--mkkey". Unfortunately it doesn't work:
# ceph-osd -i 3 --mkfs --mkkey
2019-12-11 16:59:58.257 7fac4597fc00 -1 auth: unable to find a keyring
on /var/lib/ceph/osd/ceph-3/keyring: (2) No such file or directory
2019-12-11 16:59:58.257 7fac4597fc00 -1 AuthRegistry(0x55ad976ea140)
no keyring found at /var/lib/ceph/osd/ceph-3/keyring, disabling cephx
2019-12-11 16:59:58.261 7fac4597fc00 -1 auth: unable to find a keyring
on /var/lib/ceph/osd/ceph-3/keyring: (2) No such file or directory
2019-12-11 16:59:58.261 7fac4597fc00 -1 AuthRegistry(0x7fffac4075e8)
no keyring found at /var/lib/ceph/osd/ceph-3/keyring, disabling cephx
failed to fetch mon config (--no-mon-config to skip)
Shouldn't it create the keyring? Why is it complaining about not being
able to find a keyring?
Regards,
Rodrigo