我们的应用程序是少数在 DEA 上运行的应用程序之一。在 DEA 上,我们能够使用特定的自定义 buildbpack:
https://github.com/ihuston/python-conda-buildpack
现在我们必须继续使用 Diego 运行时,我们在推送应用程序时会耗尽空间。我相信磁盘空间仅在暂存期间才需要,因为 buildpack 附带了很多库并且必须构建(我们需要整个科学 python 堆栈,它们都包含在上面的 buildpack 中)。
构建脚本输出一切正常,除了应用程序无法启动。然后日志显示:
2016-10-13T19:10:42.29+0200 [CELL/0] ERR Copying into the container failed: stream-in: nstar: error streaming in: exit status 2. Output: tar: ./app/.conda/pkgs/cache/db552c1e.json: Wrote only 8704 of 10240 bytes
以及更多文件:
2016-10-13T19:10:42.29+0200 [CELL/0] ERR tar: ./app/.conda/pkgs/cache/9779607c273dc0786bd972b4cb308b58.png: Cannot write: No space left on device
进而
2016-10-13T20:16:48.30+0200 [API/0] OUT App instance exited with guid b2f4a1be-aeda-44fa-87bc-9871f432062d payload: {"instance"=>"", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"Copying into the container failed", "crash_count"=>14, "crash_timestamp"=>1476382608296511944, "version"=>"ca10412e-717a-413b-875a-535f8c3f7be4"}
尝试添加更多磁盘配额(1G 以上)时出现错误:
Server error, status code: 400, error code: 100001, message: The app is invalid: disk_quota too much disk requested (must be less than 1024)
有没有办法给更多的空间?至少对于构建过程?