We forgot to copy the "from" attribute when passing command to slave machine for execution. This results in "command not found" since the slave machine tries to execute the command without changing to test tool directory.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/NetTestController.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index d0a53ae..bf241c1 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -319,6 +319,7 @@ class NetTestController: tool = cmd_data["from"] if tool in self._resource_table["tools"]: cmd["command"] = cmd_data["command"] + cmd["from"] = cmd_data["from"] else: msg = "Tool '%s' not found on the controller" % tool raise RecipeError(msg, cmd_data)
lnst-developers@lists.fedorahosted.org