我们无法再将应用程序部署到App Engine Standard。
重现步骤:我们只是使用IntelliJ IDEA部署我们的项目-我们收到以下错误:
Beginning deployment of service [default]...
#============================================================#
#= Uploading 0 files to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [default]...
.................................................................................failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 15c72c99-c2cc-4e4d-b910-0eee13a9cb5a status: FAILURE.
Error ID: 6AA2815A.
Error type: BuildError.
Error message: 21 Feb 2020 04:36:00 INFO Running as user 0, group 0
21 Feb 2020 04:36:00 INFO Arguments: ['--name=eu.gcr.io/XXXXXXX/app-engine-tmp/app/ttl-2h:af4f2b82-4138-4c9a-905f-6f9cf038e4cd', '--src=/workspace', '--base=eu.gcr.io/gae-runtimes/java8:java8_20191215_8_0_RC00']
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/bin/appender.par/__main__.py", line 90, in <module>
File "/bin/appender.par/__main__.py", line 76, in main
File "/bin/appender.par/containerregistry/client/v2_2/append_.py", line 74, in __init__
File "/bin/appender.par/containerregistry/client/v2_2/docker_image_.py", line 110, in uncompressed_blob
File "/usr/lib/python2.7/gzip.py", line 260, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 319, in _read
self._add_read_data( uncompress )
File "/usr/lib/python2.7/gzip.py", line 337, in _add_read_data
self.extrabuf = self.extrabuf[offset:] + data
MemoryError.
Failed to deploy '[2020-02-21 06:33:21] XXXX:war exploded. Project: XXXXXX. Version: vvvv': Deployment failed with exit code: 1
Please make sure that you are using the latest version of the Google Cloud SDK.
Run ''gcloud components update'' to update the SDK. (See: https://cloud.google.com/sdk/gcloud/reference/components/update.)
Cloud SDK由IDEA管理..它似乎是最新版本(在“设置-Cloud SDK”中)。
我们在IDEA中还有另一个较小的测试项目,我们可以毫无问题地进行部署。 而且我们在Eclipse中还有另一个更大的项目,该项目失败并出现类似的错误-MemoryError。
我猜Google Cloud中肯定存在一些内存问题,因为较小的项目可以正常工作,但是2个较大的项目无法正常工作!
这是从昨天开始发生的..我们进行了搜索,但没有找到任何类似的问题..所以我想这一定是新事物吗?
更新:
现在似乎可以正常工作了。我想这是Google部署过程中的一个临时故障。
答案 0 :(得分:0)
对于此类问题,最好open a ticket到Google Cloud Platform支持团队。通过访问您环境的详细信息和日志,他们将能够更好地进行故障排除。