Project

General

Profile

Actions

Feature #8679

open

improve logging statements

Added by Alfredo Deza almost 10 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

As discussed at some point, one of the annoyances is to have very cryptic logging messages (cryptic to those who have never seen anything like it
or are developers).

On the #ceph channel a day ago:

<user> can anyone help me interpret this line: 7fede0763700  0 -- :/1040921 >> 172.16.17.55:6789/0 pipe(0x7feddc022470 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7feddc0226e0).fault
<other user> the machine youre on is unable to contact the monitor at 172.16.17.55

If the machine is unable to contact the monitor, it would be really useful to have something that says that.

Actions #1

Updated by Alfredo Deza over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Alfredo Deza over 9 years ago

  • Description updated (diff)
Actions #3

Updated by Federico Lucifredi over 9 years ago

Wow.

Actions #4

Updated by John Spray almost 8 years ago

The log message is fine. What's users need is an added mechanism that recognises when a pipe fault is actually indicating that there is a network issue (the two are not the same).

Services with network problems are an intrinsically hard problem, because they can't phone home to register their complaints (i.e. we can't flag this issue in "ceph status", or have it appear in "ceph -w").

A workable solution might look like a health thread internal to the process, that watches for issues like this, and has special cases for things like "I've been up for a minute but none of my attempted mon connections worked so far", at which point it could emit more readable log messages that explained the situation.

Actions #5

Updated by Patrick Donnelly about 5 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (Monitor)
Actions #6

Updated by Laura Flores almost 2 years ago

  • Translation missing: en.field_tag_list set to low-hanging-fruit
Actions

Also available in: Atom PDF