Project

General

Profile

Actions

Feature #3443

open

radosgw - Add Log messages to indicate restart, attempt, success and failure

Added by Ken Franklin over 11 years ago. Updated over 11 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

when radosgw is started/restarted there is currently no message written to /var/log/ceph/radosgw.log if it is successful. If it fails, there is a message about the failure to initialize but you need to assume a restart was attempted.

Actions #1

Updated by Ken Franklin over 11 years ago

here's a specific example from bobtail tesing:

ceph.conf contained:

[client.radosgw.gateway]
host = burnupi16.front.sepia.ceph.com
. . .

apparently, only a short host name is accepted for the host. This syntax error was not caught by mkcephfs or by stopping and starting ceph. When starting radosgw, the command prompt immediately returns without diagnostics and no radosgw process is started. No log entries are made in radosgw.log which makes it difficult to debug.

Actions #2

Updated by Ken Franklin over 11 years ago

To clairify, forget the possible issue with syntax checking in mkcephfs or starting and stopping ceph. That's a totally separate issue we need to investigat and address. The real issue remains to log more in radosgw.log.

Actions #3

Updated by Sage Weil over 11 years ago

we could make the script print a warning of there are .'s in the host line? it's hard, though, because sometimes the hostname has .'s too. i'm not sure how to make it more clear that this is simply a string match with the output of `hostname`.

Actions

Also available in: Atom PDF