summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/apex.py
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-10-16 20:04:01 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-10-16 20:04:01 +0800
commitaa16cb3987bad7abfb8743cb205980a50d5f12fe (patch)
tree4b1b1f4ea2cf2098bbb1bd1d78fd81bf3297d530 /doctor_tests/installer/apex.py
parentff43740199fc14ad01b05ed0d626f51f81eb82f2 (diff)
fix the bug for consumer don't receive the notification
There is no 'sudo' command in functest container, so the stunnel is setup failed. Change-Id: I9e317c0643a370fb5b35d90363b0ff734a77c040 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/installer/apex.py')
-rw-r--r--doctor_tests/installer/apex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doctor_tests/installer/apex.py b/doctor_tests/installer/apex.py
index b64a3662..16f0376e 100644
--- a/doctor_tests/installer/apex.py
+++ b/doctor_tests/installer/apex.py
@@ -93,7 +93,7 @@ class ApexInstaller(BaseInstaller):
def setup_stunnel(self):
self.log.info('Setup ssh stunnel in controller nodes in Apex installer......')
for node_ip in self.controllers:
- cmd = "sudo ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i %s %s@%s -R %s:localhost:%s sleep 600 > ssh_tunnel.%s.log 2>&1 < /dev/null &" \
+ cmd = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i %s %s@%s -R %s:localhost:%s sleep 600 > ssh_tunnel.%s.log 2>&1 < /dev/null &" \
% (self.key_file, self.node_user_name, node_ip,
self.conf.consumer.port, self.conf.consumer.port, node_ip)
server = subprocess.Popen(cmd, shell=True)