During last 3-5 days all builds for our app build upon nodejs flex 
environment failed with the error:

===
Error Response: [4] Timed out waiting for the app infrastructure to become 
healthy
===

`gcloud app deploy` is stuck at 'Updating service...' and after 15-25 
minutes fails with the error.
*Full error message:*
===
Updating service [default] (this may take several minutes)...\DEBUG: 
Operation [apps/PROJECT_ID/operations/45d6fec1-9261-41d2-943a-648976b971ed] 
not complete. Waiting to retry.
Updating service [default] (this may take several minutes)...-DEBUG: 
Operation [apps/PROJECT_ID/operations/45d6fec1-9261-41d2-943a-648976b971ed] 
complete. Result: {
    "metadata": {
        "user": "em...@gmail.com", 
        "target": "apps/PROJECT_ID/services/default/versions/release-0-6-3", 
        "@type": 
"type.googleapis.com/google.appengine.v1.OperationMetadataV1", 
        "insertTime": "2018-02-19T06:08:56.439Z", 
        "method": "google.appengine.v1.Versions.CreateVersion"
    }, 
    "done": true, 
    "name": 
"apps/PROJECT_ID/operations/45d6fec1-9261-41d2-943a-648976b971ed", 
    "error": {
        "message": "Timed out waiting for the app infrastructure to become 
healthy.", 
        "code": 4
    }
}
Updating service [default] (this may take several minutes)...failed.       
                                                             
DEBUG: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the 
app infrastructure to become healthy.
Traceback (most recent call last):
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 
797, in Execute
    resources = calliope_command.Run(cli=self, args=args)
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", 
line 757, in Run
    resources = command_instance.Run(args)
  File "/usr/lib/google-cloud-sdk/lib/surface/app/deploy.py", line 65, in 
Run
    parallel_build=False)
  File 
"/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py"
, line 588, in RunDeploy
    flex_image_build_option=flex_image_build_option)
  File 
"/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py"
, line 394, in Deploy
    extra_config_settings)
  File 
"/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py"
, line 188, in DeployService
    message=message)
  File 
"/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py"
, line 246, in WaitForOperation
    sleep_ms=retry_interval)
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py"
, line 266, in WaitFor
    sleep_ms=sleep_ms)
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", 
line 222, in RetryOnResult
    if not should_retry(result, state):
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py"
, line 260, in _IsNotDone
    return not poller.IsDone(operation)
  File 
"/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py"
, line 171, in IsDone
    encoding.MessageToPyValue(operation.error)))
OperationError: Error Response: [4] Timed out waiting for the app 
infrastructure to become healthy.
ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the 
app infrastructure to become healthy.

===

Does anyone face similar problem?
Any idea how to debug/solve it or what can cause it?

Cheers,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c8eacc55-961f-409e-8f18-ee73735d64b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Oleksandr Oliynyk

Reply via email to