From: selias Date: Wed, 26 Jul 2017 12:01:48 +0000 (+0200) Subject: HC Test: add mising sudo to ODL client statup X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=172228fecc1f2773de7952f7a97dccdc3c4c0c95;ds=sidebyside HC Test: add mising sudo to ODL client statup Change-Id: I5231cb131f09edc0271c99095aacbf68144e7ded Signed-off-by: selias --- diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py index bf948715e2..bab24aac35 100644 --- a/resources/libraries/python/honeycomb/HoneycombSetup.py +++ b/resources/libraries/python/honeycomb/HoneycombSetup.py @@ -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"]))