X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Finstaller%2Fmcp.py;h=9cfff92d3a5b90c826574e0c87af9240d020a206;hb=d673e9218a53e047edc5ff6cd047ac6db5112651;hp=8ba9f000142b374e65a3ee81f15cfc5ecf298661;hpb=6bd4e026fca92b281382a3f6b46f7ab7eeb31f45;p=doctor.git diff --git a/doctor_tests/installer/mcp.py b/doctor_tests/installer/mcp.py index 8ba9f000..9cfff92d 100644 --- a/doctor_tests/installer/mcp.py +++ b/doctor_tests/installer/mcp.py @@ -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])