简体   繁体   English

部署Google App Engine失败,超时

[英]Deploy Google App Engine failed with timed out

I have problem deploying my nodejs to app engine with gcloud app deploy . 我在使用gcloud app deploy到App Engine时gcloud app deploy In the log file, it keeps reporting this error for about ~20mins 在日志文件中,它将持续报告此错误约20分钟

2018-02-14 13:48:50,271 DEBUG root Operation [apps/billy-cart/operations/d228fad1-a2d3-45fd-9712-e279132f1e26] not complete. 2018-02-14 13:48:50,271调试根操作[apps / billy-cart / operations / d228fad1-a2d3-45fd-9712-e279132f1e26]未完成。 Waiting to retry. 等待重试。

then the process ends with 然后该过程以

Updating service [default] (this may take several minutes)...failed. 更新服务[默认](这可能需要几分钟)...失败。
ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy. 错误:(gcloud.app.deploy)错误响应:[4]超时,等待应用程序基础结构变得健康。

When I check console, I can see my 1 of 2 instances created but traffic is not migrated yet. 当我检查控制台时,可以看到已创建2个实例中的1个,但流量尚未迁移。 For the record my app.yaml is simply as 记录我的app.yaml就像

env: flex
runtime: nodejs
manual_scaling:
  instances: 2
resources:
  cpu: 2
  memory_gb: 4
  disk_size_gb: 10

How can I troubleshoot this issue? 如何解决此问题? I can't make any deployment 我无法进行任何部署

Fyi this is not my first deployment, but it's been acting weird like this lately. Fyi这不是我的第一个部署,但是最近这种行为很奇怪。 I have checked the log of that instance and it already executes my npm start command - no error. 我已经检查了该实例的日志,它已经执行了我的npm start命令-没有错误。 Also I am running latest gcloud SDK v188.0.1 on Ubuntu 我也在Ubuntu上运行最新的gcloud SDK v188.0.1

There is an ongoing investigation for this very same error. 正在进行针对此相同错误的调查 Although, I've seen similar errors when compute engine quota has been reached. 虽然,当达到计算引擎配额时,我已经看到类似的错误。 I'd suggest to follow updates from the issue tracker and also, check your project to know if any GCE quotas are reached. 我建议跟随问题跟踪器的更新,并且,请检查您的项目以了解是否达到了任何GCE配额。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM