HC Test: add mising sudo to ODL client statup 95/7795/1
authorselias <samelias@cisco.com>
Wed, 26 Jul 2017 12:06:37 +0000 (14:06 +0200)
committerSamuel Eliáš <samelias@cisco.com>
Wed, 26 Jul 2017 12:07:41 +0000 (12:07 +0000)
Change-Id: I2b023ae584599c7cc4d942bf85c6c93b1fe294fb
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/python/honeycomb/HoneycombSetup.py

index 4c438ff..2c02a1c 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"]))