Rundeck中的Python脚本失败

时间:2017-08-10 18:32:28

标签: rundeck

我在server_A上有一个python脚本,它通过SSH连接到server_B,并调用本地rsync命令以使用一组新文件重置目录B.然后A上的脚本继续通过另外一组文件rsync到B.我希望在Rundeck中按计划运行它。但是,在使用此输出运行期间,每次都出现错误。我做错了什么?

Remote command failed with exit status 1
Failed: NonZeroResultCode: Remote command failed with exit status 1
Execution failed: 9 in project Test: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [server_A: NonZeroResultCode: Remote command failed with exit status 1]}, Node failures: {server_A=[NonZeroResultCode: Remote command failed with exit status 1]}, flow control: Continue, status: failed]

1 个答案:

答案 0 :(得分:0)

您调用的命令返回退出状态1。你在跑什么?