bugfix: fix the filename of ssh tunnel 51/60551/1
authordongwenjuan <dong.wenjuan@zte.com.cn>
Fri, 3 Aug 2018 06:06:53 +0000 (14:06 +0800)
committerdongwenjuan <dong.wenjuan@zte.com.cn>
Fri, 3 Aug 2018 06:06:53 +0000 (14:06 +0800)
The stunnel will be setup failed in the docker if we have the .log
at the end of file name.

Change-Id: I272a9fa3b668d49b0e26752403ad41a67dcfedc7
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
doctor_tests/installer/base.py

index 76bbeb1..f312130 100644 (file)
@@ -63,7 +63,7 @@ class BaseInstaller(object):
             cmd = ("ssh -o UserKnownHostsFile=/dev/null"
                    " -o StrictHostKeyChecking=no"
                    " -i %s %s@%s -R %s:localhost:%s"
-                   " sleep 600 > ssh_tunnel.%s.log"
+                   " sleep 600 > ssh_tunnel.%s"
                    " 2>&1 < /dev/null &"
                    % (self.key_file,
                       self.node_user_name,