Intermittent failure to communicate with gcloud api


#1

Hi

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

https://github.com/kubernetes/kubernetes/issues/8512
https://github.com/kubernetes/kubernetes/issues/15917

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>


#2

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.


#3

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