planktonicme / google-cloud-sdk

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

"gcloud docker pull gcr.io/google_appengine/python-compat" crashes #640

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud docker].

What steps will reproduce the problem?

I ran this:
$ gcloud docker pull gcr.io/google_appengine/python-compat

What is the expected output? What do you see instead?
...downloading the docker image, to poke around with. Instead the app crashed.

Please provide any additional information below.

Full stack trace:
  File "googlecloudsdk/gcloud_main.py", line 169, in main
    gcloud_cli.Execute()
  File "googlecloudsdk/calliope/cli.py", line 652, in Execute
    result = args.cmd_func(cli=self, args=args)
  File "googlecloudsdk/calliope/backend.py", line 1394, in Run
    resources = command_instance.Run(args)
  File "surface/docker.py", line 127, in Run
    result = docker.Execute(extra_args)
  File "googlecloudsdk/core/docker/docker.py", line 210, in DockerFunc
    return func(*args, **kwargs)
  File "googlecloudsdk/core/docker/docker.py", line 232, in Execute
    stderr=sys.stderr)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child
    child_exception = pickle.loads(data)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1388, in loads
    return Unpickler(file).load()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 972, in load_string
    raise ValueError, "insecure string pickle"
ValueError: insecure string pickle

Installation information:

Google Cloud SDK [99.0.0]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.11 (default, Jan 22 2016, 08:29:18)  [GCC 4.2.1 Compatible 
Apple LLVM 7.0.2 (clang-700.1.81)]]
Python Location: 
[/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resour
ces/Python.app/Contents/MacOS/Python]
Site Packages: [Disabled]

Installation Root: [/Users/lambert/google-cloud-sdk]
Installed Components:
  core: [2016.02.26]
  app-engine-python: [1.9.33]
  core-nix: [2016.02.05]
  kubectl: []
  app-engine-java: [1.9.32]
  gcloud: []
  gsutil-nix: [4.15]
  gsutil: [4.17]
  bq: [2.0.18]
  bq-nix: [2.0.18]
  kubectl-darwin-x86_64: [1.1.7]
System PATH: 
[/Users/lambert/google-cloud-sdk/bin:/Users/lambert/bin:/Users/lambert/Library/P
ython/2.7/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin]
Cloud SDK on PATH: [True]

Installation Properties: [/Users/lambert/google-cloud-sdk/properties]
User Config Directory: [/Users/lambert/.config/gcloud]
User Properties: [/Users/lambert/.config/gcloud/properties]

Account: [mlambert@gmail.com]
Project: [dancedeets-hrd]

Current Properties:
  [core]
    project: [dancedeets-hrd]
    account: [mlambert@gmail.com]
    disable_usage_reporting: [False]
  [app]
    suppress_change_warning: [true]

Logs Directory: [/Users/lambert/.config/gcloud/logs]
Last Log File: 
[/Users/lambert/.config/gcloud/logs/2016.03.11/04.52.07.909851.log]

Original issue reported on code.google.com by mlamb...@gmail.com on 10 Mar 2016 at 8:53

GoogleCodeExporter commented 8 years ago
Thanks for the report. We are looking at it.

Original comment by gsfow...@google.com on 16 Mar 2016 at 3:18

GoogleCodeExporter commented 8 years ago
I am not able to reproduce this problem.

On my Mac (OS X El Capitan) I installed gcloud version 99.0.0, and changed my 
python version to 2.7.11, and tried to pull the same image, it works fine. 

But I am using docker-machine instead of boot2docker. See 
https://docs.docker.com/engine/installation/mac/. Docker-machine is supposed to 
deprecate boot2docker.

Original comment by weizh...@google.com on 17 Mar 2016 at 8:48

GoogleCodeExporter commented 8 years ago
Huh, it works for me now too. I'm also using docker-machine too, though I 
forget which I was using at the time I reported this error (and am not willing 
to try installing boot2docker again just to see if that was at fault). Please 
feel free to close, thanks for taking the time to investigate.

Original comment by mlamb...@gmail.com on 17 Mar 2016 at 9:07

GoogleCodeExporter commented 8 years ago
Thanks for updating! Glad it's working for you now.

Original comment by z...@google.com on 17 Mar 2016 at 9:22