summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-12-18 11:39:14 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-12-18 11:39:14 +0800
commite1c5dd0158d5168738fcc9918d24c04ca724b056 (patch)
treec46e409dfba701062677d130fd997f4e9a39db4b /doctor_tests/installer
parentd673e9218a53e047edc5ff6cd047ac6db5112651 (diff)
remove to set ceilometer config in MCP
As Mcp already set the notifier for alarm in ceilometer configuration, we remove the configuration workaround. JIRA: DOCTOR-132 Change-Id: I30603d7f364fbbed143ebdb3dc6fdf71b10434a0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/installer')
-rw-r--r--doctor_tests/installer/mcp.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/doctor_tests/installer/mcp.py b/doctor_tests/installer/mcp.py
index 9cfff92d..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])