]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/diskprediction_cloud: Service unavailable 28687/head
authorhsiang41 <rick.chen@prophetstor.com>
Fri, 21 Jun 2019 09:38:52 +0000 (17:38 +0800)
committerhsiang41 <rick.chen@prophetstor.com>
Mon, 24 Jun 2019 03:35:47 +0000 (11:35 +0800)
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 <rick.chen@prophetstor.com>
src/pybind/mgr/diskprediction_cloud/module.py

index 151b2bc9c8fd71b0404b790def4e8484ad5aee28..fb918a09102c8d766377f1402740ff62bfd4728f 100644 (file)
@@ -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: