Em qua., 11 de dez. de 2019 às 17:03, Rodrigo Severo - Fábrica
<rodrigo(a)fabricadeideias.com> escreveu:
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?
I forgot to mention in my first email that I'm running Ceph 14.2.5.
It's strange that such a regular operation is presenting issues. Maybe
the documentation is out of date?
Regards,
Rodrigo