]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/ConfigKeyService: remove config-key set warning
authorSage Weil <sage@redhat.com>
Tue, 17 Dec 2019 22:23:38 +0000 (16:23 -0600)
committerSage Weil <sage@redhat.com>
Fri, 17 Jan 2020 18:22:02 +0000 (12:22 -0600)
This has been there for both mimic and nautilus; we can drop it for
octopus.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/ConfigKeyService.cc

index 38a22d16496e5a37e68ac7d5e11389d644704a14..566543657a26bad4b9ebfc52926e63ac60093945 100644 (file)
@@ -237,18 +237,6 @@ bool ConfigKeyService::service_dispatch(MonOpRequestRef op)
       goto out;
     }
 
-    std::string mgr_prefix = "mgr/";
-    if (key.size() >= mgr_prefix.size() &&
-        key.substr(0, mgr_prefix.size()) == mgr_prefix) {
-      // In <= mimic, we used config-key for mgr module configuration,
-      // and we bring values forward in an upgrade, but subsequent
-      // `set` operations will not be picked up.  Warn user about this.
-      ss << "WARNING: it looks like you might be trying to set a ceph-mgr "
-            "module configuration key.  Since Ceph 13.0.0 (Mimic), mgr module "
-            "configuration is done with `config set`, and new values "
-            "set using `config-key set` will be ignored.\n";
-    }
-
     ss << "set " << key;
 
     // we'll reply to the message once the proposal has been handled