Project

General

Profile

Actions

Feature #6567

closed

emit warning on unknown/ invalid configuration directives

Added by Corin Langosch over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Afaik, ceph does not complain at all when invalid/ unknown configuration directives are in the config file. I'd like to see ceph at least emit a warning for each directive, probably even rejecting to startup.

This would really help a lot for confusing configuration directives (see http://tracker.ceph.com/issues/6484) but also for typos etc.

Actions #1

Updated by Loïc Dachary over 9 years ago

  • Status changed from New to Rejected

This is unfortunately not possible as there is no central place to query to know what is a valid option and what is not. Options are used by various tools and it is not uncommon to have an option that is unknown MON and OSD (i.e. not in config_opts.h) such as osd_crush_update_on_start used by ceph-osd-prestart.sh

Actions

Also available in: Atom PDF