Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "run profile even the notification time is larger than 1S"
[doctor.git]
/
doctor_tests
/
installer
/
mcp.py
diff --git
a/doctor_tests/installer/mcp.py
b/doctor_tests/installer/mcp.py
index
8ba9f00
..
9cfff92
100644
(file)
--- 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,
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.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.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......')
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,
for client in self.controller_clients:
self._run_apply_patches(client,
restart_cm_cmd,
-
self.cm_restore_script
)
+
[self.cm_restore_script]
)