modxevil / google-cloud-sdk

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

Issue running command [gcloud preview app deploy]. #478

Open GoogleCodeExporter opened 8 years ago

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

What steps will reproduce the problem?

$ gcloud preview app deploy /mnt/hgfs/yaml-war/app.yaml  --version=mon92-6 
--project=tradeos-test1

What is the expected output? What do you see instead?
The deploy should succeed, it doesn't and reports error instead below is all 
the logs

Please provide any additional information below.

Traceback (most recent call last):
  File "lib/googlecloudsdk/gcloud_main.py", line 169, in main
    gcloud_cli.Execute()
  File "lib/googlecloudsdk/calliope/cli.py", line 643, in Execute
    result = args.cmd_func(cli=self, args=args)
  File "lib/googlecloudsdk/calliope/backend.py", line 1401, in Run
    resources = command_instance.Run(args)
  File "lib/surface/preview/app/deploy.py", line 369, in Run
    config_cleanup)
  File "lib/googlecloudsdk/api_lib/app/deploy_command_util.py", line 204, in BuildAndPushDockerImages
    info.file, docker_client, image_name)
  File "lib/googlecloudsdk/api_lib/app/deploy_command_util.py", line 278, in BuildAndPushDockerImage
    image.Build(docker_client)
  File "lib/googlecloudsdk/api_lib/app/docker_image.py", line 110, in Build
    nocache=self._nocache, rm=self._rm, pull=False)
  File "./lib/third_party/docker/docker/api/build.py", line 97, in build
    timeout=timeout,
  File "./lib/third_party/docker/docker/client.py", line 107, in _post
    return self.post(url, **self._set_request_timeout(kwargs))
  File "./lib/third_party/requests/sessions.py", line 507, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "./lib/third_party/requests/sessions.py", line 464, in request
    resp = self.send(prep, **send_kwargs)
  File "./lib/third_party/requests/sessions.py", line 576, in send
[output truncated]

Original issue reported on code.google.com by Monta...@freightos.com on 19 Jan 2016 at 2:01

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for reporting this. Are you able to reproduce this behavior? Does 
this happen again when you retry?

Original comment by vil...@google.com on 20 Jan 2016 at 6:38

GoogleCodeExporter commented 8 years ago
Yes, always the same behavior, I was trying to verify that the latest gcloud 
update didn't break anything in our deployment but seems it does, we were using 
0.9.89 and every thing is working fine, I got a new machine and installed the 
latest version 92.0.0 and got this behavior it is always reproducible, also 
today I tried 93.0.0 and got the same behavior.

Original comment by Monta...@freightos.com on 25 Jan 2016 at 2:36

GoogleCodeExporter commented 8 years ago
94.0.0 still not working, even upgraded the old machine we were using which 
turned out to have 0.9.87 not 89 sorry for that, and after the upgrade it 
didn't manage to deploy hence here i did a deploy just before upgrading to make 
sure that the old way still working, I rolled back to 0.9.87 after that using

gcloud components update --verion 0.9.87 

I hope that I didn't lose my deploying machine.

Original comment by Monta...@freightos.com on 28 Jan 2016 at 4:23