venf2k / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

gcloud crashes when pushing managed vm #671

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud preview app deploy].

What steps will reproduce the problem?
Failed twice (crashed)

What is the expected output? What do you see instead?
Should deploy Managed VM to cloud. Instead says 

Beginning deployment...
If this is your first deployment, this may take a while...done.

Verifying that Managed VMs are enabled and ready.
ERROR: gcloud crashed (DockerException): Error while fetching server API 
version: ('Connection aborted.', error(60, 'Operation timed out'))

Please provide any additional information below.

Traceback (most recent call last):
  File "googlecloudsdk/gcloud_main.py", line 169, in main
    gcloud_cli.Execute()
  File "googlecloudsdk/calliope/cli.py", line 654, in Execute
    result = args.cmd_func(cli=self, args=args)
  File "googlecloudsdk/calliope/backend.py", line 1376, in Run
    resources = command_instance.Run(args)
  File "surface/preview/app/deploy.py", line 509, in Run
    config_cleanup)
  File "googlecloudsdk/api_lib/app/deploy_command_util.py", line 204, in BuildAndPushDockerImages
    cli, version_id, remote, project) as docker_client:
  File "googlecloudsdk/api_lib/app/images/docker_util.py", line 254, in __enter__
    return containers.NewDockerClient(local=(not self._remote), **kwargs)
  File "googlecloudsdk/api_lib/app/containers.py", line 150, in NewDockerClient
    client = NewDockerClientNoCheck(**kwargs)
  File "googlecloudsdk/api_lib/app/containers.py", line 133, in NewDockerClientNoCheck
    return docker.Client(**kwargs)
  File "third_party/docker/docker/client.py", line 77, in __init__
    self._version = self._retrieve_server_version()
  File "third_party/docker/docker/client.py", line 97, in _retrieve_server_version
    'Error while fetching server API version: {0}'.format(e)
DockerException: Error while fetching server API version: ('Connection 
aborted.', error(60, 'Operation timed out'))

Installation information:

Google Cloud SDK [101.0.0]

[output truncated]

Original issue reported on code.google.com by unbore...@gmail.com on 21 Mar 2016 at 6:26

GoogleCodeExporter commented 8 years ago

Original comment by z...@google.com on 21 Mar 2016 at 3:09