summaryrefslogtreecommitdiffstats
path: root/tests/installer/apex.py
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-08-30 17:30:44 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-08-30 17:30:44 +0800
commitf14135782ba970d7627d43df40935778954ed294 (patch)
treebb26620a02a9d051989d7b09bc31bfdbf2603c98 /tests/installer/apex.py
parent96665938926b5083cf917517e2ecb7c7267d72c1 (diff)
delete workaroud of doctor driver in congress for Apex installer
Change-Id: I767777fd3c07998170b0957400a3e2a00ebe62a9 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/installer/apex.py')
-rw-r--r--tests/installer/apex.py6
1 files changed, 0 insertions, 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__))