Project

General

Profile

Actions

Bug #7849

closed

ceph-conf create empty log files

Added by Dmitry Smirnov about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

`ceph-conf` creates empty log files in "/var/log/ceph". This is unexpected, undesireable (and undocumented) behaviour.
Even worse, it makes log files for non-existent config sections.

For example the following command:

/usr/bin/ceph-conf -c /etc/ceph/ceph.conf --name osd.999 --lookup "host" 

creates the following file:
/var/log/ceph/ceph-osd.999.log

This is not what config file query tool should do.

Actions

Also available in: Atom PDF