HC Test: add mising sudo to ODL client statup 93/7793/3
authorselias <samelias@cisco.com>
Wed, 26 Jul 2017 12:01:48 +0000 (14:01 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 28 Jul 2017 08:06:56 +0000 (08:06 +0000)
Change-Id: I5231cb131f09edc0271c99095aacbf68144e7ded
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/python/honeycomb/HoneycombSetup.py

index bf94871..bab24aa 100644 (file)
@@ -464,7 +464,7 @@ class HoneycombSetup(object):
         cmd = "cp -r {src}/*karaf_{odl_name}* {dst}".format(
             src=src_path, odl_name=odl_name, dst=dst_path)
 
-        ret_code, _, _ = ssh.exec_command(cmd, timeout=60)
+        ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=60)
         if int(ret_code) != 0:
             raise HoneycombError(
                 "Failed to copy ODL client on node {0}".format(node["host"]))

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.