Feature #3443
openradosgw - Add Log messages to indicate restart, attempt, success and failure
0%
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.
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.
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.
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`.