X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FHoneycombSetup.py;fp=resources%2Flibraries%2Fpython%2Fhoneycomb%2FHoneycombSetup.py;h=bab24aac355a4eb9579ed1b79d6540e91f70f009;hp=bf948715e2794b0d84e5a617d25797e8b594452d;hb=172228fecc1f2773de7952f7a97dccdc3c4c0c95;hpb=a459a83441b1eaa6268238c53e41f84753b1e76c 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"]))