From: hsiang41 Date: Fri, 21 Jun 2019 09:38:52 +0000 (+0800) Subject: mgr/diskprediction_cloud: Service unavailable X-Git-Tag: v15.1.0~2241^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28687%2Fhead;p=ceph.git mgr/diskprediction_cloud: Service unavailable Reset the grpc ssl_target_name_override and default_authority default to be 'localhost'. Fixes: http://tracker.ceph.com/issues/40478 Signed-off-by: Rick Chen --- diff --git a/src/pybind/mgr/diskprediction_cloud/module.py b/src/pybind/mgr/diskprediction_cloud/module.py index 151b2bc9c8fd..fb918a09102c 100644 --- a/src/pybind/mgr/diskprediction_cloud/module.py +++ b/src/pybind/mgr/diskprediction_cloud/module.py @@ -82,11 +82,11 @@ class Module(MgrModule): }, { 'name': 'diskprediction_ssl_target_name_override', - 'default': 'api.diskprophet.com' + 'default': 'localhost' }, { 'name': 'diskprediction_default_authority', - 'default': 'api.diskprophet.com' + 'default': 'localhost' }, { 'name': 'sleep_interval', @@ -398,7 +398,7 @@ class Module(MgrModule): restart_agent = True break except Exception as IOError: - self.log.error('disk prediction plugin faield to started and try to restart') + self.log.error('disk prediction plugin failed to started and try to restart') restart_agent = True if restart_agent: