walle做部署任務時報的錯誤
ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
[2019-01-26 23:26:57,788] ERROR in waller: ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
Traceback (most recent call last):
File "/home/pikachu/Desktop/walle-web/walle/service/waller.py", line 58, in run
raise Exception(stderr)
Exception: ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
[2019-01-26 23:26:57,797] ERROR in waller: task_id=1, user:walle host: command:ln -sfn test/1_1_20190126_232634 test/current-tmp-1, status=1, message:ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
Traceback (most recent call last):
File "/home/pikachu/Desktop/walle-web/walle/service/waller.py", line 58, in run
raise Exception(stderr)
Exception: ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
emitting event "console" to 1 [/walle]
75d3c6780ba3462c903643d189430c6b: Sending packet MESSAGE data 2/walle,["console",{"data":{"status":1,"error":"ln: failed to create symbolic link \u2018test/current-tmp-1\u2019: No such file or directory\r\n","user":"walle","success":"","sequence":5,"cmd":"ln -sfn test/1_1_20190126_232634 test/current-tmp-1","stage":"release"},"event":"console"}]
[2019-01-26 23:26:57,798] ERROR in deployer: ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
Traceback (most recent call last):
File "/home/pikachu/Desktop/walle-web/walle/service/deployer.py", line 553, in walle_deploy
self.release(self.connections[host])
File "/home/pikachu/Desktop/walle-web/walle/service/deployer.py", line 282, in release
result = waller.run(command, wenv=self.config())
File "/home/pikachu/Desktop/walle-web/walle/service/waller.py", line 123, in run
raise e
Exception: ln: failed to create symbolic link ‘test/current-tmp-1’: No such file or directory
emitting event "fail" to 1 [/walle]
還沒解決
執行ln -la 會發現閃爍
後面還出現了
bash: cd: manager: 符號連接的層數過多
解決這兩個問題的辦法就是把倉庫位置寫到絕對路徑
最後
進度條跑完