X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Finstaller%2Fmcp.py;h=80e559ed105a8e1b2ee02b9713bd76c3a196b9d1;hb=e1c5dd0158d5168738fcc9918d24c04ca724b056;hp=e7e41dbe5341a8fec60394b11d78c0d9383943e2;hpb=f9e1e3b1ae4be80bc2dc61d9c4213c81c091ea72;p=doctor.git diff --git a/doctor_tests/installer/mcp.py b/doctor_tests/installer/mcp.py index e7e41dbe..80e559ed 100644 --- a/doctor_tests/installer/mcp.py +++ b/doctor_tests/installer/mcp.py @@ -14,8 +14,6 @@ from doctor_tests.installer.base import BaseInstaller class McpInstaller(BaseInstaller): node_user_name = 'ubuntu' - cm_set_script = 'set_ceilometer.py' - cm_restore_script = 'restore_ceilometer.py' def __init__(self, conf, log): super(McpInstaller, self).__init__(conf, log) @@ -71,20 +69,5 @@ class McpInstaller(BaseInstaller): def set_apply_patches(self): self.log.info('Set apply patches start......') - restart_cm_cmd = 'sudo service ceilometer-agent-notification restart' - for node_ip in self.controllers: - client = SSHClient(node_ip, self.node_user_name, - key_filename=self.key_file) - self.controller_clients.append(client) - self._run_apply_patches(client, - restart_cm_cmd, - self.cm_set_script) - def restore_apply_patches(self): self.log.info('restore apply patches start......') - - restart_cm_cmd = 'sudo service ceilometer-agent-notification restart' - for client in self.controller_clients: - self._run_apply_patches(client, - restart_cm_cmd, - self.cm_restore_script)