Intermittent failure to communicate with gcloud api



I believe I’m experiencing these issues when using gcloud in my build container, but I’m not sure:

My gcloud docker commands are unable to connect to the metadata server. Am I alone?

This only happens intermittently, some of my builds run fine without changes.

Specific error I get when running gcloud docker -a, or any gcloud docker commands:
ERROR: gcloud crashed (CannotConnectToMetadataServerException): <urlopen error [Errno -2] Name or service not known>


I’ve had both successful and failed builds on the same remote docker machine (same name and id), so I imagine my actual build container is sometimes spinning up on a cluster/node ? that is unable to reach the google metadata.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.