From f14135782ba970d7627d43df40935778954ed294 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Wed, 30 Aug 2017 17:30:44 +0800 Subject: delete workaroud of doctor driver in congress for Apex installer Change-Id: I767777fd3c07998170b0957400a3e2a00ebe62a9 Signed-off-by: dongwenjuan --- tests/installer/apex.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/installer/apex.py b/tests/installer/apex.py index 24cd5a75..e0960a5f 100644 --- a/tests/installer/apex.py +++ b/tests/installer/apex.py @@ -13,8 +13,6 @@ import pwd import stat import sys -from installer.common.congress import set_doctor_driver_conf -from installer.common.congress import restore_doctor_driver_conf from installer.base import BaseInstaller from utils import SSHClient @@ -74,16 +72,12 @@ class ApexInstaller(BaseInstaller): client = SSHClient(node_ip, self.node_user_name, key_filename=self.key_file) self.controller_clients.append(client) self._ceilometer_apply_patches(client, self.cm_set_script) - cmd = 'sudo systemctl restart openstack-congress-server.service' - set_doctor_driver_conf(client, cmd) def restore_apply_patches(self): self.log.info('restore apply patches start......') for client in self.controller_clients: self._ceilometer_apply_patches(client, self.cm_restore_script) - cmd = 'sudo systemctl restart openstack-congress-server.service' - restore_doctor_driver_conf(client, cmd) def _ceilometer_apply_patches(self, ssh_client, script_name): installer_dir = os.path.dirname(os.path.realpath(__file__)) -- cgit 1.2.3-korg