Proxmox/iomemory-vsl: Difference between revisions
< Proxmox
(Created page with "== dkms == dkms status dkms autoinstall -k 6.5.11-7-pve") |
No edit summary |
||
Line 4: | Line 4: | ||
dkms autoinstall -k 6.5.11-7-pve | 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: | |||
<pre> | |||
# 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 | |||
</pre> | |||
echo "bluestore" > /var/lib/ceph/osd/ceph-2/type | |||
<ref>https://forum.proxmox.com/threads/why-is-my-ceph-osd-dead-and-wont-start-again.127282/</ref> |
Revision as of 08:51, 12 January 2024
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