我正試圖在Google App Engine上部署我的projet。它以前工作成功,但從昨天開始,我無法部署它。GAE部署結果出錯
我得到以下錯誤:
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] The system encountered a fatal error
當查看日誌文件,我得到如下:
2017-02-17 10:15:51,710 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:15:56,876 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:02,173 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:07,352 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:12,654 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:17,817 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:23,119 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:28,296 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:33,475 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:38,650 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
2017-02-17 10:16:43,838 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] complete. Result: {
"metadata": {
"target": "apps/my-project/services/default/versions/20170217t100612",
"method": "google.appengine.v1.Versions.CreateVersion",
"user": "[email protected]",
"insertTime": "2017-02-17T09:06:34.800Z",
"ephemeralMessage": "Creating new version configuration in service \"20170217t100612\".",
"endTime": "2017-02-17T09:16:43.099Z",
"@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1"
},
"done": true,
"name": "apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae",
"error": {
"message": "The system encountered a fatal error",
"code": 13
}
}
2017-02-17 10:16:43,838 DEBUG root (gcloud.app.deploy) Error Response: [13] The system encountered a fatal error
Traceback (most recent call last):
File "/opt/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 742, in Execute
resources = args.calliope_command.Run(cli=self, args=args)
File "/opt/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 739, in Run
resources = command_instance.Run(args)
File "/opt/google-cloud-sdk/lib/surface/app/deploy.py", line 59, in Run
return deploy_util.RunDeploy(args)
File "/opt/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 413, in RunDeploy
all_services)
File "/opt/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 255, in Deploy
endpoints_info)
File "/opt/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py", line 141, in DeployService
operation)
File "/opt/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py", line 142, in WaitForOperation
encoding.MessageToPyValue(completed_operation.error)))
OperationError: Error Response: [13] The system encountered a fatal error
2017-02-17 10:16:43,841 ERROR root (gcloud.app.deploy) Error Response: [13] The system encountered a fatal error
2017-02-17 10:16:44,726 DEBUG root Metrics reporting process started...
有很多像「2017-02-17 10:15:51,710 DEBUG root Operation [apps/my-project/operations/4aced3ef-a018-4913-9a5b-b3f8f13ed4ae] not complete. Waiting 5s.
」類似的生產線。
當我一起來看看在GAE Web控制檯上的「活動」選項卡,這裏是我所看到的:
對不起它在法國。它寫道:
10:16 - Successful operation : create a version of AppEngine
10:06 - Create a version of AppEngine
所以我懷疑部署工作,但花了很多時間來部署(10分鐘)。你也可以看到,我所有的嘗試都需要10分鐘才能成功完成。
出了什麼問題?
部署的版本是否行爲正常(即部署實際上是否成功)?你能否檢查活動日誌以前的成功部署的實際持續時間沒有出現這個問題? –