bugfix: add doctor datasource in congress
[doctor.git] / doctor_tests / installer / mcp.py
index 8ba9f00..9cfff92 100644 (file)
@@ -22,7 +22,8 @@ class McpInstaller(BaseInstaller):
         self.key_file = self.get_ssh_key_from_installer()
         self.client = SSHClient(self.conf.installer.ip,
                                 self.node_user_name,
-                                key_filename=self.key_file)
+                                key_filename=self.key_file,
+                                look_for_keys=True)
         self.controllers = list()
         self.controller_clients = list()
 
@@ -77,7 +78,7 @@ class McpInstaller(BaseInstaller):
             self.controller_clients.append(client)
             self._run_apply_patches(client,
                                     restart_cm_cmd,
-                                    self.cm_set_script)
+                                    [self.cm_set_script])
 
     def restore_apply_patches(self):
         self.log.info('restore apply patches start......')
@@ -86,4 +87,4 @@ class McpInstaller(BaseInstaller):
         for client in self.controller_clients:
             self._run_apply_patches(client,
                                     restart_cm_cmd,
-                                    self.cm_restore_script)
+                                    [self.cm_restore_script])