Proxmox/iomemory-vsl

From Omnia
Revision as of 08:51, 12 January 2024 by Kenneth (talk | contribs)
Jump to navigation Jump to search

dkms

dkms status
dkms autoinstall -k 6.5.11-7-pve

Ceph

OSD fails to start on reboot.

journalctl -u ceph-osd@2.service
auth: unable to find a keyring on /var/lib/ceph/osd/ceph-2/keyring: (2) No such file or directory
AuthRegistry(0x55821f874a40) no keyring found at /var/lib/ceph/osd/ceph-2/keyring, disabling cephx

Solution:

# Export key
ceph auth export osd.2 -o keyring.export
# Adapt user and permissions
chown ceph:ceph keyring.export
chmod 0600 keyring.export
# Remove caps lines
sed -i '/^\s*caps/d' keyring.export
# Put keyring into expected location
mv keyring.export /var/lib/ceph/osd/ceph-2/keyring
# Reset failed counter for service
systemctl reset-failed ceph-osd@2.service
# Start osd service
systemctl start ceph-osd@2.service

echo "bluestore" > /var/lib/ceph/osd/ceph-2/type

[1]