From 1ee21323adab60150a4ab332a515945b3a809f38 Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 22 Aug 2018 10:49:20 -0400 Subject: [PATCH] mon: remove pre-luminous health output compatibility As of nautilus, this will be more than two versions old: external tooling should have been updated by now. Signed-off-by: John Spray --- PendingReleaseNotes | 4 ++++ src/common/legacy_config_opts.h | 1 - src/common/options.cc | 8 ------- src/mon/Monitor.cc | 40 ++++----------------------------- src/mon/health_check.h | 26 +++++---------------- 5 files changed, 14 insertions(+), 65 deletions(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index bf44d58872200..19022ba0ab1b5 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -4,6 +4,10 @@ * The 'ceph osd rm' command has been deprecated. Users should use 'ceph osd destroy' or 'ceph osd purge' (but after first confirming it is safe to do so via the 'ceph osd safe-to-destroy' command). +* The mon_health_preluminous_compat and mon_health_preluminous_compat_warning + config options are removed, as the related functionality is more + than two versions old. Any legacy monitoring system expecting Jewel-style + health output will need to be updated to work with Nautilus. * Nautilus is not supported on any distros still running upstart so upstart specific files and references have been removed. diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 4da595dc3e946..b817741cf1de8 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -270,7 +270,6 @@ OPTION(mon_reweight_max_change, OPT_DOUBLE) OPTION(mon_health_to_clog, OPT_BOOL) OPTION(mon_health_to_clog_interval, OPT_INT) OPTION(mon_health_to_clog_tick_interval, OPT_DOUBLE) -OPTION(mon_health_preluminous_compat, OPT_BOOL) OPTION(mon_data_avail_crit, OPT_INT) OPTION(mon_data_avail_warn, OPT_INT) OPTION(mon_data_size_warn, OPT_U64) // issue a warning when the monitor's data store goes over 15GB (in bytes) diff --git a/src/common/options.cc b/src/common/options.cc index 7973c63719ea5..5210daf89ebed 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1599,14 +1599,6 @@ std::vector