From 693ec6dfdf45a84eacf355a7fcce4828f901d2c6 Mon Sep 17 00:00:00 2001 From: hsiang41 Date: Fri, 21 Jun 2019 17:38:52 +0800 Subject: [PATCH] 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 --- src/pybind/mgr/diskprediction_cloud/module.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/diskprediction_cloud/module.py b/src/pybind/mgr/diskprediction_cloud/module.py index 151b2bc9c8f..fb918a09102 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: -- 2.47.3