Project

General

Profile

Actions

Feature #6325

open

mon: mon_status should make it clear when the mon has connection issues

Added by Alfredo Deza over 10 years ago. Updated almost 4 years ago.

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

0%

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

Description

If `mon_status` is called when having network connection issues it will not state anything that can alert a user/system about the problem
in the output of `mon_status`.

At the most, the monitor will be in 'probing' state which doesn't really hint at the problem.

Only after getting the log levels up there was some information about the connectivity problem in the monitor logs:

2013-09-16 14:30:42.750312 7f484b44a700  2 -- 192.168.111.101:6789/0 >> 0.0.0.0:0/1 pipe(0x33e0280 sd=15 :0 s=1 pgs=0 cs=0 l=0 c=0x3331080).fault 111: Connection refused

And also:

2013-09-16 14:28:04.289943 7f966c96f700  2 -- 192.168.111.100:6789/0 >> 192.168.111.101:6789/0 pipe(0x1dcf780 sd=22 :0 s=1 pgs=0 cs=0 l=0 c=0x1db9420).connect error 192.168.111.101:6789/0, 113: No route to host

The rationale here is that if the logs can have output of 'No route to host' and/or 'Connection refused', the expectation would be to have the same
information in mon_status.


Subtasks 1 (1 open0 closed)

Feature #1894: mon: implement internal heartbeatingNew01/05/2012

Actions
Actions

Also available in: Atom PDF