From: hsiang41 Date: Mon, 5 Nov 2018 06:04:55 +0000 (+0800) Subject: Separate diskprediction local plugin from the diskprediction plugin X-Git-Tag: v14.1.0~955^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5581577c83171ae4c016bd997da2e03b68704dad;p=ceph-ci.git Separate diskprediction local plugin from the diskprediction plugin Separate diskprediction local plugin from the diskprediction plugin. Devicehealth invoke device prediction function related on the global configuration "device_failure_prediction_mode". Signed-off-by: Rick Chen --- diff --git a/COPYING b/COPYING index 22acddf0e0d..8d663702b63 100644 --- a/COPYING +++ b/COPYING @@ -146,7 +146,7 @@ Files: src/include/timegm.h Copyright (C) Copyright 2010-2011 Vicente J. Botet Escriba License: Boost Software License, Version 1.0 -Files: src/pybind/mgr/diskprediction/predictor/models/* +Files: src/pybind/mgr/diskprediction_local/models/* Copyright: None License: Public domain diff --git a/doc/mgr/diskprediction.rst b/doc/mgr/diskprediction.rst index f0778e193cb..bbc163f5c2e 100644 --- a/doc/mgr/diskprediction.rst +++ b/doc/mgr/diskprediction.rst @@ -17,15 +17,15 @@ environment:: Select the prediction mode:: - ceph config set global device_health_prediction_mode local + ceph config set global device_failure_prediction_mode local or:: - ceph config set global device_health_prediction_mode cloud + ceph config set global device_failure_prediction_mode cloud To disable prediction,:: - ceph config set global device_health_prediction_mode none + ceph config set global device_failure_prediction_mode none Connection settings diff --git a/src/common/options.cc b/src/common/options.cc index 49cb29a08f6..30499fe3534 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4991,6 +4991,7 @@ std::vector