Project

General

Profile

Actions

Bug #6249

closed

daemon mon_status should report a daemon is not running

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The current behavior is that it will return a generic exception log with a `No such file or directory` which is confusing as this doesn't look (to the user) like a daemon not running.

$ sudo ceph daemon mon.node1 mon_status
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
Actions #1

Updated by Greg Farnum over 10 years ago

The path could just be the wrong path as well (eg, got changed in config but daemon wasn't restarted). To be accurate we'd need a message like "There is no running daemon with a socket at <path>".
Would that work for you?

Actions #2

Updated by Alfredo Deza over 10 years ago

Something along those lines would totally work for me :)

Actions #3

Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF