meolu / walle-web

walle - 瓦力 Devops开源项目代码部署平台
https://walle-web.io
Apache License 2.0
11.85k stars 2.76k forks source link

打包找不到目录,偶尔发生 #1072

Open Gerrylinux opened 4 years ago

Gerrylinux commented 4 years ago

问题描述角色下,部署管理页面,上线功能功能,报错:打包找不到目录,偶尔发生。

问题描述 日志堆栈贴上来。 logs/error.log

2019-12-27 10:01:09,645 ERROR /opt/walle-web/walle/service/waller.py 92 waller.run tar (child): 3_13_20191227_095939.tgz: Cannot open: No such file or direc
torytar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
  File "/opt/walle-web/walle/service/waller.py", line 58, in run
    raise Exception(stderr)
Exception: tar (child): 3_13_20191227_095939.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

截图 拖拽到此处即可上传

运行环境

hqwan890622 commented 4 years ago

打包大文件时 经常发生这个BUG

Gerrylinux commented 4 years ago

我打包的文件就3M。。。。

lizhongyi2008 commented 4 years ago

我的遇到,有人解决了吗

linux724 commented 4 years ago

推荐你们一个开源的发布运维平台,https://github.com/openspug/spug

johnwas commented 4 years ago

我发现只要是执行了一个时间比较长的命令后,会导致前端和后端timeout断开,后端会以为已经发生错误,就把tar包删除了,这个时候就会发生找不到tar 包的问题,这个应该是和超时设置有关系,但是前端没有源码,没法查。