2017-08-10 160 views
-1

我在server_A上有一個python腳本,它通過SSH連接到server_B,並調用本地rsync命令來重置一個包含一組新文件的目錄B.然後,A上的腳本繼續到另外一組文件到rsync的rsync。我希望在Rundeck中按計劃運行此腳本。但是,每次運行這個輸出時,它都會出錯。我究竟做錯了什麼?Rundeck失敗的Python腳本

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] 

回答

0

退出狀態1是由您調用的命令返回的。你在跑什麼?