Project

General

Profile

Feature #8844

asserts to log message to ceph log

Added by Dmitry Smirnov over 8 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

There are number of outstanding issues with stability of Ceph components: for example it is not unusual for OSDs to give up and crash if anything goes wrong.
When OSD (or other daemon) terminates it would be nice to see a corresponding error message in log, something like

osd.5 [ERR] FAILED assert(soid < scrubber.start || soid >= scrubber.end) in osd/ReplicatedPG.cc: 5297

so it will appear in the output of command `ceph --watch-warn`.
(At the moment failed asserts are logged to local daemon's log only so daemon just silently goes down on assert).
Thanks.

History

#1 Updated by Patrick Donnelly almost 4 years ago

  • Status changed from New to Resolved
  • Target version set to v14.0.0
  • Start date deleted (07/15/2014)

There's a crash reporter module in the mgr now.

Also available in: Atom PDF