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()
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......')
for client in self.controller_clients:
self._run_apply_patches(client,
restart_cm_cmd,
- self.cm_restore_script)
+ [self.cm_restore_script])