Bug #23128
openinvalid values in ceph.conf do not issue visible warnings
0%
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
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
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.
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?
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