ceph crash archive-all
or ceph crash rm <crashid>
.ceph crash archive-all
- reports are no longer considered for the RECENT_CRASH health check and does not appear in the crash ls-new output (it will still appear in the crash ls output - so you can analyze them in the future).ceph crash rm <crashid>
- removes specific crash report.Done all but does not solve the remaining issue.In my opinion, the better option is only on one node run eitherceph crash archive-all
orceph crash rm <crashid>
.
ceph crash archive-all
- reports are no longer considered for the RECENT_CRASH health check and does not appear in the crash ls-new output (it will still appear in the crash ls output - so you can analyze them in the future).
ceph crash rm <crashid>
- removes specific crash report.
Both commands also invoke refresh_health_checks() function.
How do I delete these all it takes my all space in /var/lib/ceph/crash/postedDone all but does not solve the remaining issue.
So, manual deleting was the only way to get rid off the annoying messages in syslog..
ceph crash prune 1How do I delete these all
ceph auth get-or-create client.crash mon 'profile crash' mgr 'profile crash'
and added it to a dedicated keyring /etc/pve/ceph.client.crash.keyring
.ceph.conf
to make sure ceph-crash could pick it up.
[client.crash]
keyring = /etc/pve/$cluster.$name.keyring
/var/lib/ceph/crash/
on all the nodes since the posted/
subfolder was still owned by root.chown -R ceph: /var/lib/ceph/crash/
https://bugzilla.proxmox.com/show_bug.cgi?id=4759#c7Thank you for your post! Could you add it to the Bugzilla – Bug 4759?
auth: unable to find a keyring on /etc/pve/priv/ceph.client.crash.keyring:
Jan 18 16:47:06 proxh5 ceph-crash[34121]: 2024-01-18T16:47:06.782+0100 7f8dc7e926c0 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.client.admin.keyring: (13) Permission denied
Jan 18 16:47:06 proxh5 ceph-crash[34121]: 2024-01-18T16:47:06.782+0100 7f8dc7e926c0 -1 monclient: keyring not found
We use essential cookies to make this site work, and optional cookies to enhance your experience.