aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-07-26 14:06:37 +0200
committerSamuel Eliáš <samelias@cisco.com>2017-07-26 12:07:41 +0000
commit3dce1ef34ab4c43e2f440ffd6b6cb7d60fa0a51e (patch)
tree6a6e8ba0e44a549723c828f9c5c98cd6c5bee80d
parent20c0f283d2f3b9403f39e3b22d5ec7ecc3fd9304 (diff)
HC Test: add mising sudo to ODL client statup
Change-Id: I2b023ae584599c7cc4d942bf85c6c93b1fe294fb Signed-off-by: selias <samelias@cisco.com>
-rw-r--r--resources/libraries/python/honeycomb/HoneycombSetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py
index 4c438ff55e..2c02a1c80d 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"]))