On Debian I have had the experience that one of the OSD-related systemd
unit files was not installed - sorry that I can't recall which one, but
the error you describe is the same one I had.
The required file was in the source package, but was apparently left off
the list of files to be copied into the install package. Once I copied
the file over to /lib/systemd/system everything started working again.
If I had to guess it was either ceph-volume@.service, or more likely -
based on timestamps on my one of my OSD servers, ceph-osd@.service.
Hope this helps.
-Dave
Dave Hall
Binghamton University
kdhall(a)binghamton.edu
On 7/3/2020 4:58 PM, Alexander E. Patrakov wrote:
> On Sat, Jul 4, 2020 at 1:37 AM Rodrigo Severo - Fábrica
> <rodrigo(a)fabricadeideias.com> wrote:
>> Hi,
>>
>>
>> Just rebooted one of my OSD servers after upgrading Ceph from 14.2.9 to
>> 14.2.10 and it's OSDs won't come up.
>>
>> I find the following messages on my log:
>>
>> 4991 Jul 3 17:24:03 osdserver1-df ceph-osd[1272]: 2020-07-03
>> 17:24:03.036 7fcc497f1c00 -1 auth: unable to find a keyring on
>> /var/lib/ceph/osd/ceph-6/keyring: (2) No such file or directory
>> 4992 Jul 3 17:24:03 osdserver1-df ceph-osd[1272]: 2020-07-03
>> 17:24:03.036 7fcc497f1c00 -1 AuthRegistry(0x55e2ff810140) no keyring found
>> at /var/lib/ceph/osd/ceph-6/keyring, disabling cephx
>>
>> and my /var/lib/ceph/osd/ceph-6 directory is empty.
>>
>> I see that on my other servers these /var/lib/ceph/osd/ceph-? directories
>> are tmpfs mounts but I can't understand who is responsible for mounting
>> them as there are no entries for them in /etc/fstab.
>>
>> How can I fix this osd server?
> Hi, it is not possible to figure this out based on just the
> information that you provided. E.g., how was the OSD initially
> provisioned? Was it with "ceph-volume lvm"?
>
> In any case, the following commands (please run as root) would help debugging:
>
> lsblk
> lvs -a -o name,lv_tags
>