Project

General

Profile

Actions

Bug #23128

open

invalid values in ceph.conf do not issue visible warnings

Added by Debashis Mondal about 6 years ago. Updated about 6 years ago.

Status:
Triaged
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

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

Description

Execution Steps
-----------------

1. Change the setting of "mon osd down out interval" in ceph.conf as per below
mon osd down out interval = 1.1
2. Restart Monitor
3. Stop the service of any OSD # systemctl stop ceph-osd@2
4. Check the status of ceph # watch -s

Observation:
---------------
Normally when we set the value to 0 then the "ceph -s" displays an warning message as " mon.ceph-server2 has mon_osd_down_out_interval set to 0"

There should be an error handling in source code to show the warning regarding unexpected configured value.


Files

Warning_message_when_interval_set_to_zero.JPG (40.3 KB) Warning_message_when_interval_set_to_zero.JPG console output Debashis Mondal, 02/26/2018 04:29 AM
Actions #1

Updated by Jason Dillaman about 6 years ago

  • Project changed from rbd to RADOS
Actions #2

Updated by Josh Durgin about 6 years ago

  • Subject changed from If we set the "mon osd down out interval" to a floating point value in configuration then "ceph -s" don't show any kind of message regarding wrong value set as interval and after 5 minutes the ceph health goes in Error state. to invalid values in ceph.conf do not issue visible warnings
  • Category set to Administration/Usability
  • Status changed from New to Triaged
Actions #3

Updated by Josh Durgin about 6 years ago

This is reverting to the default value since 1.1 is not a valide value for the option.

This is being improved with a centralized configuration stored in the monitors in mimic.

Actions #4

Updated by Joshua Schmid about 6 years ago

Josh Durgin wrote:

This is being improved with a centralized configuration stored in the monitors in mimic.

Is there documentation about this topic somewhere?

Actions #5

Updated by Josh Durgin about 6 years ago

http://docs.ceph.com/docs/master/rados/configuration/ceph-conf/ has been updated with information about this

Actions

Also available in: Atom PDF