Skip to content

Instantly share code, notes, and snippets.

@xuru
Created November 21, 2014 20:35
Show Gist options
  • Save xuru/604da3c02ec96904d352 to your computer and use it in GitHub Desktop.
Save xuru/604da3c02ec96904d352 to your computer and use it in GitHub Desktop.
setup-managed-vms error
Select the runtime to download the base image for:
[1] Go
[2] Java
[3] Python27
[4] All
Please enter your numeric choice (4): 3
Pulling base images for runtimes [python27] from Google Cloud Storage
Pulling image: google/appengine-python27
Traceback (most recent call last):
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 170, in <module>
main()
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 166, in main
_cli.Execute()
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 385, in Execute
post_run_hooks=self.__post_run_hooks, kwargs=kwargs)
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py", line 274, in _Execute
pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks)
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 928, in Run
result = command_instance.Run(args)
File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py", line 39, in Run
args.image_version)
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/pull.py", line 54, in PullBaseDockerImages
util.PullSpecifiedImages(docker_client, image_names, version, bucket)
File "/usr/local/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/util.py", line 232, in PullSpecifiedImages
'Error pulling {image}: {e}'.format(image=image_name, e=e))
googlecloudsdk.appengine.lib.images.util.DockerPullError: Error pulling google/appengine-python27: 500 Server Error: Internal Server Error ("Invalid registry endpoint https://localhost:49154/v1/: Get https://localhost:49154/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry localhost:49154` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/localhost:49154/ca.crt")
@andidol
Copy link

andidol commented Nov 27, 2014

do you have any updates on this? I have the same problem..

@gpopovic
Copy link

gpopovic commented Dec 1, 2014

me too

Copy link

ghost commented Dec 9, 2014

same problem here... Is there any workaround for this? I don't know if it's a bug or something wrong on my part since I'm just starting with Manages VMs

@tuxdna
Copy link

tuxdna commented Dec 13, 2014

I tried this answer: https://stackoverflow.com/questions/27243294/unable-to-pull-google-appengine-go-docker-image

I am getting following errors:

$ docker pull localhost:5000/google/appengine-python27
Pulling repository localhost:5000/google/appengine-python27
574d80b10b90: Error pulling image (latest) from localhost:5000/google/appengine-python27, Server error: Status 0 while fetching image layer (f01dc3167ff18445bad4a9060cfbb51b3cbec2cf36ba705492d5dd4f1c8e2349) 51b3cbec2cf36ba705492d5dd4f1c8e2349) Download complete 
7a243a3158d4: Download complete 
da6b68038b81: Download complete 
d8f3757efe8f: Download complete 
f01dc3167ff1: Error pulling dependent layers 
FATA[0363] Error pulling image (latest) from localhost:5000/google/appengine-python27, Server error: Status 0 while fetching image layer (f01dc3167ff18445bad4a9060cfbb51b3cbec2cf36ba705492d5dd4f1c8e2349) 

The docker daemon ( inside boot2docker vm ):

$ tail -f /var/log/docker.log 
time="2014-12-13T16:38:17Z" level="debug" msg="http://localhost:5000/v1/images/f01dc3167ff18445bad4a9060cfbb51b3cbec2cf36ba705492d5dd4f1c8e2349/layer -- HEADERS: map[User-Agent:[docker/1.4.0 go/go1.3.3 git-commit/4595d4f kernel/3.16.7-tinycore64 os/linux arch/amd64]]" 
time="2014-12-13T16:39:17Z" level="debug" msg="Error contacting registry: Get http://localhost:5000/v1/images/f01dc3167ff18445bad4a9060cfbb51b3cbec2cf36ba705492d5dd4f1c8e2349/layer: read tcp 127.0.0.1:5000: i/o timeout"

Copy link

ghost commented Dec 14, 2014

same thing as @tuxdna here with the appengine-java image

@dlorenc
Copy link

dlorenc commented Dec 14, 2014

Hey Everyone,

I'm an engineer on the App Engine team, and I can help out with these problems.

There are a couple unrelated problems that are getting confused together. Some versions of boot2docker do not work with the gcloud SDK, and the public google/docker-registry docker image also does not work with the gcloud SDK. Please give this set of steps a try:

boot2docker delete
boot2docker download --iso-url=https://github.com/boot2docker/boot2docker/releases/download/v1.3.3/boot2docker.iso
boot2docker init
boot2docker up

gcloud components update app
gcloud preview app setup-managed-vms

If you're still hitting trouble:

Make sure the version of docker in the boot2docker VM is 1.3.0, 1.3.2 or 1.3.3. To do this, run:
boot2docker ssh
docker version
The 'Server Version' field should be 1.3.0,1.3.2 or 1.3.3.

Make sure gcloud is up to date, run:
gcloud version
This should say: "Google Cloud SDK 0.9.40"

Finally, make sure you're logged into gcloud correctly. Run:
gcloud auth login

If you have the correct versions above, and are still hitting problems, some log files will be very helpful. Please attach:
The output of:
gcloud --verbosity=debug preview app setup-managed-vms

The logs from the docker-registry container. You can get these by running:
docker ps -a

Then look in the output for the most recent container with the Image named "google/docker-registry:latest". Copy the Container ID field, and run:
docker logs

Thanks,
Dan Lorenc

@tuxdna
Copy link

tuxdna commented Dec 15, 2014

I still can't manage to get it working Boot2Docker version 1.3.3 and Google SDK 0.9.40 as below:

Google SDK

$ gcloud update app
$ gcloud version
Google Cloud SDK 0.9.40

app 2014.12.08
app-engine-go-linux-x86_64 1.9.17
app-engine-java 1.9.17
app-engine-managed-vms 2014.11.03
app-engine-python 1.9.17
app-engine-python-extras 1.9.6
bq 2.0.18
bq-nix 2.0.18
compute 2014.12.08
core 2014.12.08
core-nix 2014.10.20
dns 2014.12.08
gae-python 2014.05.06
gcutil 1.16.5
gcutil-nix 1.16.5
gsutil 4.7
gsutil-nix 4.6
preview 2014.12.08
preview-extensions-linux-x86_64 0.5
sql 2014.12.08

Setup Boot2Docker1.3.3

$ ./boot2docker-v1.3.2-linux-amd64 download --iso-url=https://github.com/boot2docker/boot2docker/releases/download/v1.3.3/boot2docker.iso
Downloading boot2docker ISO image...
Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.3.3/boot2docker.iso
    to /home/tuxdna/.boot2docker/boot2docker.iso

$ ./boot2docker-v1.3.2-linux-amd64 init

$ ./boot2docker-v1.3.2-linux-amd64 up
Waiting for VM and Docker daemon to start...
.......................ooooooooooooooo
Started.
Writing /home/tuxdna/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /home/tuxdna/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /home/tuxdna/.boot2docker/certs/boot2docker-vm/key.pem

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://192.168.59.104:2376
    export DOCKER_CERT_PATH=/home/tuxdna/.boot2docker/certs/boot2docker-vm
    export DOCKER_TLS_VERIFY=1

Setup env variables

$ export DOCKER_HOST=tcp://192.168.59.104:2376
$ export DOCKER_CERT_PATH=/home/tuxdna/.boot2docker/certs/boot2docker-vm
$ export DOCKER_TLS_VERIFY=1
$ env | grep DOCK
DOCKER_HOST=tcp://192.168.59.104:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/home/tuxdna/.boot2docker/certs/boot2docker-vm

Setup Managed VMs

$ gcloud preview app setup-managed-vms
Select the runtime to download the base image for:
 [1] Go
 [2] Java
 [3] Python27
 [4] All
Please enter your numeric choice (4):  3

Pulling base images for runtimes [python27] from Google Cloud Storage
Pulling image: google/appengine-python27
Traceback (most recent call last):
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 175, in <module>
    main()
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 171, in main
    _cli.Execute()
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 385, in Execute
    post_run_hooks=self.__post_run_hooks, kwargs=kwargs)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py", line 274, in _Execute
    pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 928, in Run
    result = command_instance.Run(args)
  File "/home/tuxdna/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py", line 39, in Run
    args.image_version)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/pull.py", line 54, in PullBaseDockerImages
    util.PullSpecifiedImages(docker_client, image_names, version, bucket)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/util.py", line 227, in PullSpecifiedImages
    r.Pull(image_name, version)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 156, in Pull
    _WaitForImageReady(self._docker_client, repo_image_tag)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 55, in _WaitForImageReady
    _Retry(image.Build)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 46, in _Retry
    raise e
google.appengine.tools.docker.containers.ImageError: Image with tag localhost:49153/google/appengine-python27 was not found

With verbose debug flag on

$ gcloud --verbosity=debug preview app setup-managed-vms
....

DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-python27&only_ids=1&all=0 HTTP/1.1" 200 2
DEBUG: Exception Image with tag localhost:49154/google/appengine-python27 was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-python27
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-python27&only_ids=1&all=0 HTTP/1.1" 200 2
DEBUG: Exception Image with tag localhost:49154/google/appengine-python27 was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-python27
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-python27&only_ids=1&all=0 HTTP/1.1" 200 2
DEBUG: "POST /v1.10/containers/e8cd6049560afef5b5fbcb0babad538e41c5fabec4bc1e7d4e6228c2909be263/kill HTTP/1.1" 204 0
DEBUG: "POST /v1.10/containers/ff9b11cab63795ebf91cb2ed4210c9c5fe063ab6fabc68ed9ab83036a3c78bd5/kill HTTP/1.1" 204 0
Traceback (most recent call last):
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 175, in <module>
    main()
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 171, in main
    _cli.Execute()
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 385, in Execute
    post_run_hooks=self.__post_run_hooks, kwargs=kwargs)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py", line 274, in _Execute
    pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 928, in Run
    result = command_instance.Run(args)
  File "/home/tuxdna/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py", line 39, in Run
    args.image_version)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/pull.py", line 54, in PullBaseDockerImages
    util.PullSpecifiedImages(docker_client, image_names, version, bucket)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/util.py", line 227, in PullSpecifiedImages
    r.Pull(image_name, version)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 156, in Pull
    _WaitForImageReady(self._docker_client, repo_image_tag)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 55, in _WaitForImageReady
    _Retry(image.Build)
  File "/home/tuxdna/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 46, in _Retry
    raise e
google.appengine.tools.docker.containers.ImageError: Image with tag localhost:49154/google/appengine-python27 was not found

Inside Boot2Docker

$ ./boot2docker-v1.3.2-linux-amd64 ssh
Boot2Docker version 1.3.3, build master : a53b668 - Thu Dec 11 20:27:13 UTC 2014
Docker version 1.3.3, build d344625

$ docker ps -a
CONTAINER ID        IMAGE                             COMMAND                CREATED             STATUS                       PORTS               NAMES
e8cd6049560a        google/docker-registry:latest     "/bin/sh -c 'cd /doc   9 minutes ago       Exited (-1) 3 minutes ago                        tender_wilson                      
ff9b11cab637        gcloud-credentials-image:latest   "/true"                9 minutes ago       Exited (0) 9 minutes ago                         gcloud-credentials-1418619142.04   
e23b29d2d7c4        google/docker-registry:latest     "/bin/sh -c 'cd /doc   25 minutes ago      Exited (-1) 19 minutes ago                       romantic_fermi                     
71f3432578d8        9134a6a177da                      "/true"                25 minutes ago      Exited (0) 25 minutes ago                        gcloud-credentials-1418618169.24   

There were some errors in Docker logs as well

$ tail -f /var/log/docker.log
[debug] endpoint.go:59 Error from registry "https://localhost:49154/v1/" marked as insecure: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. Insecurely falling back to HTTP
Invalid registry endpoint "http://localhost:49154/v1/". HTTPS attempt: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. HTTP attempt: Get http://localhost:49154/v1/_ping: EOF
[1710681c] -job pull(localhost:49154/google/appengine-python27, latest) = ERR (1)
[error] server.go:1207 Handler for POST /images/create returned error: Invalid registry endpoint "http://localhost:49154/v1/". HTTPS attempt: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer.
 HTTP attempt: Get http://localhost:49154/v1/_ping: EOF
[error] server.go:110 HTTP Error: statusCode=500 Invalid registry endpoint "http://localhost:49154/v1/". HTTPS attempt: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. HTTP attempt: Get htt
p://localhost:49154/v1/_ping: EOF
[debug] server.go:1181 Calling POST /images/create
[info] POST /v1.10/images/create?tag=latest&fromImage=localhost%3A49154%2Fgoogle%2Fappengine-python27
[1710681c] +job pull(localhost:49154/google/appengine-python27, latest)
[debug] endpoint.go:59 Error from registry "https://localhost:49154/v1/" marked as insecure: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. Insecurely falling back to HTTP
Invalid registry endpoint "http://localhost:49154/v1/". HTTPS attempt: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. HTTP attempt: Get http://localhost:49154/v1/_ping: read tcp 127.0.0.1:
49154: connection reset by peer

Copy link

ghost commented Dec 27, 2014

boot2docker 1.4.1 + gcloud 0.9.41 here and I also got ImageError: Image with tag localhost:49154/google/appengine-java was not found Any solution?

@shanestevens
Copy link

Same for me :( I tried Dan Lorenc's suggestions to no avail (OS X 10.10)

~]$gcloud --verbosity=debug preview app setup-managed-vms
DEBUG: Running gcloud.preview.app.setup-managed-vms with Namespace(base_image_bucket='containers-prod', cmd_func=<bound method Command.Run of <googlecloudsdk.calliope.backend.Command object at 0x107cfbc90>>, command_path=['gcloud', 'preview', 'app', 'setup-managed-vms'], docker_host=None, err_func=<function PrintError at 0x107d060c8>, format=None, h=None, help=None, image_version='latest', markdown=None, project=None, quiet=None, shell=None, trace_token=None, user_output_enabled=None, verbosity='debug', version=None).
DEBUG: Detected docker environment variables: DOCKER_HOST=tcp://192.168.59.104:2376, DOCKER_CERT_PATH=/Users/shane/.boot2docker/certs/boot2docker-vm, DOCKER_TLS_VERIFY=1
INFO: Starting new HTTPS connection (1): 192.168.59.104
DEBUG: "GET /v1.10/_ping HTTP/1.1" 200 2
INFO: Looking for image_id for image with tag google/docker-registry
DEBUG: "GET /v1.10/images/json?filter=google%2Fdocker-registry&only_ids=1&all=0 HTTP/1.1" 200 253
DEBUG: Found Cloud SDK root: /Users/shane/dev/ext/google/gcloud/google-cloud-sdk
Select the runtime to download the base image for:
[1] Go
[2] Java
[3] Python27
[4] All
Please enter your numeric choice (4): DEBUG: Sent event: Event(category='Executions', action='gcloud', label=u'2015.01.12', value=0)
DEBUG: Sent event: Event(category='Commands', action='gcloud.preview.app.setup-managed-vms', label='unknown', value=0)
2

Pulling base images for runtimes [java] from Google Cloud Storage
INFO: Refreshing access_token
DEBUG: Copy /Users/shane/.config/gcloud/legacy_credentials/shane@twiitch.com/.boto to /var/folders/55/t0_4xbcj729b96j1gfhkf5040000gn/T/tmpnR7yHa...
DEBUG: Copy /Users/shane/dev/ext/google/gcloud/google-cloud-sdk/docker/true-asm to /var/folders/55/t0_4xbcj729b96j1gfhkf5040000gn/T/tmpnR7yHa...
DEBUG: Detected docker environment variables: DOCKER_HOST=tcp://192.168.59.104:2376, DOCKER_CERT_PATH=/Users/shane/.boot2docker/certs/boot2docker-vm, DOCKER_TLS_VERIFY=1
INFO: Starting new HTTPS connection (1): 192.168.59.104
DEBUG: "GET /v1.10/_ping HTTP/1.1" 200 2
INFO: Building image gcloud-credentials-image...
DEBUG: "POST /v1.10/build?q=False&rm=True&t=gcloud-credentials-image&nocache=False HTTP/1.1" 200 None
INFO: Image gcloud-credentials-image built, id = b1698703e6b8
DEBUG: Full Image Build Log:
---> 4986bf8c1536
Step 1 : ADD true-asm /true
---> 135897a80215
Removing intermediate container 1b25229b8d38
Step 2 : RUN chmod +x /true
---> Running in b0d262b7509f
---> e06dab900d0f
Removing intermediate container b0d262b7509f
Step 3 : VOLUME /.config
---> Running in 2e2d649c3abc
---> de096b6519d4
Removing intermediate container 2e2d649c3abc
Step 4 : ADD .boto /.config/.boto
---> 0109482ef52d
Removing intermediate container f12778047b62
Step 5 : CMD /true
---> Running in f57dc5477c4f
---> b1698703e6b8
Removing intermediate container f57dc5477c4f
Successfully built b1698703e6b8

INFO: Creating container...
INFO: Starting new HTTPS connection (2): 192.168.59.104
DEBUG: "POST /v1.10/containers/create?name=gcloud-credentials-1421388250.2 HTTP/1.1" 201 90
INFO: Container edfbc3866e4c731c30938e9701318f9a6d8e2da66bc0badeb7daf4d5b42372dd created.
DEBUG: "POST /v1.10/containers/edfbc3866e4c731c30938e9701318f9a6d8e2da66bc0badeb7daf4d5b42372dd/start HTTP/1.1" 204 0
DEBUG: Starting registry container with opts: ContainerOptionsT(image_opts=ImageOptionsT(dockerfile_dir=None, tag='google/docker-registry', nocache=False, rm=True), port=5000, port_bindings=None, environment={'GCS_BUCKET': 'containers-prod', 'BOTO_PATH': '/.config/.boto'}, volumes=None, volumes_from=['gcloud-credentials-1421388250.2'], links=None, name=None, command=None)
DEBUG: Detected docker environment variables: DOCKER_HOST=tcp://192.168.59.104:2376, DOCKER_CERT_PATH=/Users/shane/.boot2docker/certs/boot2docker-vm, DOCKER_TLS_VERIFY=1
INFO: Starting new HTTPS connection (1): 192.168.59.104
DEBUG: "POST /v1.10/containers/edfbc3866e4c731c30938e9701318f9a6d8e2da66bc0badeb7daf4d5b42372dd/attach?stderr=1&logs=1&stream=1&stdout=1 HTTP/1.1" 200 None
DEBUG: "GET /v1.10/_ping HTTP/1.1" 200 2
INFO: Looking for image_id for image with tag google/docker-registry
DEBUG: "GET /v1.10/images/json?filter=google%2Fdocker-registry&only_ids=1&all=0 HTTP/1.1" 200 253
INFO: Creating container...
DEBUG: "POST /v1.10/containers/create HTTP/1.1" 201 90
INFO: Container ad1dcc854edce7a67b123f14ef0f0dd75c88fc1b8276e12a641167cca629e03a created.
DEBUG: "POST /v1.10/containers/ad1dcc854edce7a67b123f14ef0f0dd75c88fc1b8276e12a641167cca629e03a/start HTTP/1.1" 204 0
INFO: Starting new HTTPS connection (2): 192.168.59.104
DEBUG: "POST /v1.10/containers/ad1dcc854edce7a67b123f14ef0f0dd75c88fc1b8276e12a641167cca629e03a/attach?stderr=1&logs=1&stream=1&stdout=1 HTTP/1.1" 200 None
DEBUG: "GET /v1.10/containers/ad1dcc854edce7a67b123f14ef0f0dd75c88fc1b8276e12a641167cca629e03a/json HTTP/1.1" 200 None
Pulling image: google/appengine-java
INFO: Pulling image google/appengine-java:latest from Google Cloud Storage...
INFO: Starting new HTTPS connection (1): localhost
DEBUG: "POST /v1.10/images/create?tag=latest&fromImage=localhost%3A49154%2Fgoogle%2Fappengine-java HTTP/1.1" 500 263
INFO: Exception 500 Server Error: Internal Server Error ("Invalid registry endpoint "http://localhost:49154/v1/". HTTPS attempt: Get https://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer. HTTP attempt: Get http://localhost:49154/v1/_ping: read tcp 127.0.0.1:49154: connection reset by peer") thrown in pull. Retrying.
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13 [1] [INFO] Starting gunicorn 0.14.5
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13 [1] [INFO] Listening at: http://0.0.0.0:5000 (1)
2015-01-16 06:04:13 [1] [INFO] Using worker: gevent
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13 [11] [INFO] Booting worker with pid: 11
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,226 DEBUG: path=/containers-prod/
2015-01-16 06:04:13,226 DEBUG: auth_path=/containers-prod/
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,226 DEBUG: path=/containers-prod/?max-keys=0
2015-01-16 06:04:13,227 DEBUG: auth_path=/containers-prod/?max-keys=0
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,227 DEBUG: Method: GET
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,231 DEBUG: Path: /containers-prod/?max-keys=0
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,231 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,232 DEBUG: Headers: {}
2015-01-16 06:04:13,232 DEBUG: Host: storage.googleapis.com
2015-01-16 06:04:13,232 DEBUG: Port: 443
2015-01-16 06:04:13,232 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,232 DEBUG: establishing HTTPS connection: host=storage.googleapis.com, kwargs={'port': 443, 'timeout': 70}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,232 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,235 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,235 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d not present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,236 DEBUG: GetAccessToken: token from cache: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,236 DEBUG: GetAccessToken: fetching fresh access token...
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:13,236 INFO: Refreshing access_token
INFO: Starting new HTTPS connection (1): localhost
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:15,856 DEBUG: GetAccessToken: fresh access token: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
2015-01-16 06:04:15,857 DEBUG: FileSystemTokenCache.PutToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d, cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:17,538 DEBUG: containers-prod0false
DEBUG: "POST /v1.10/images/create?tag=latest&fromImage=localhost%3A49154%2Fgoogle%2Fappengine-java HTTP/1.1" 200 None
DEBUG: Container: ad1dcc854edc: "172.17.42.1 - - [16/Jan/2015:06:04:19] "GET /v1/_ping HTTP/1.1" 200 4 "-" "Go 1.1 package http"
2015-01-16 06:04:19,564 INFO: "172.17.42.1 - - [16/Jan/2015:06:04:19] "GET /v1/_ping HTTP/1.1" 200 4 "-" "Go 1.1 package http"
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,569 DEBUG: check_session: Session is empty
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,569 DEBUG: path=/containers-prod/repositories/google/appengine-java/_index_images
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,569 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/_index_images
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,569 DEBUG: Method: HEAD
2015-01-16 06:04:19,569 DEBUG: Path: /containers-prod/repositories/google/appengine-java/_index_images
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,569 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,570 DEBUG: Headers: {}
2015-01-16 06:04:19,571 DEBUG: Host: storage.googleapis.com
2015-01-16 06:04:19,571 DEBUG: Port: 443
2015-01-16 06:04:19,571 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,571 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,572 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,573 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:19,574 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,048 DEBUG: path=/containers-prod/repositories/google/appengine-java/_index_images
2015-01-16 06:04:20,048 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/_index_images
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,048 DEBUG: Method: GET
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,048 DEBUG: Path: /containers-prod/repositories/google/appengine-java/_index_images
2015-01-16 06:04:20,048 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,048 DEBUG: Headers: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,048 DEBUG: Host: storage.googleapis.com
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,049 DEBUG: Port: 443
2015-01-16 06:04:20,049 DEBUG: Params: {}
2015-01-16 06:04:20,049 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,049 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:20,049 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
2015-01-16 06:04:20,049 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: "172.17.42.1 - - [16/Jan/2015:06:04:21] "GET /v1/repositories/google/appengine-java/images HTTP/1.1" 200 1216 "-" "docker/1.3.3 go/go1.3.3 git-commit/d344625 kernel/3.16.7-tinycore64 os/linux arch/amd64"
2015-01-16 06:04:21,675 INFO: "172.17.42.1 - - [16/Jan/2015:06:04:21] "GET /v1/repositories/google/appengine-java/images HTTP/1.1" 200 1216 "-" "docker/1.3.3 go/go1.3.3 git-commit/d344625 kernel/3.16.7-tinycore64 os/linux arch/amd64"
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,679 DEBUG: check_session: Session is empty
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,680 DEBUG: [get_tags] namespace=google; repository=appengine-java
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,680 DEBUG: path=/containers-prod/
2015-01-16 06:04:21,680 DEBUG: auth_path=/containers-prod/
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,680 DEBUG: path=/containers-prod/?prefix=repositories/google/appengine-java/&delimiter=/
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,680 DEBUG: auth_path=/containers-prod/?prefix=repositories/google/appengine-java/&delimiter=/
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,680 DEBUG: Method: GET
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,681 DEBUG: Path: /containers-prod/?prefix=repositories/google/appengine-java/&delimiter=/
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,681 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,681 DEBUG: Headers: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,681 DEBUG: Host: storage.googleapis.com
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,681 DEBUG: Port: 443
2015-01-16 06:04:21,681 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,682 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,682 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
2015-01-16 06:04:21,685 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:21,685 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,255 DEBUG: containers-prodrepositories/google/appengine-java//falserepositories/google/appengine-java/_index_images141652527347400012014-11-20T23:14:33.474Z"1116f0cde88fa2c88d5ecdbaf99385ae"1216repositories/google/appengine-java/json141652527063700012014-11-20T23:14:30.637Z"4a2e6983cc5d72e809fd927bf5451fc9"152repositories/google/appengine-java/tag1917c_json141652527062200012014-11-20T23:14:30.622Z"6b03730364c2068f06a853607b12a063"152repositories/google/appengine-java/tag_1917c141652527064800012014-11-20T23:14:30.648Z"5ff0f15ee56407d22566ceef38c4f42c"64repositories/google/appengine-java/tag_latest141652527073400012014-11-20T23:14:30.734Z"5ff0f15ee56407d22566ceef38c4f42c"64repositories/google/appengine-java/taglatest_json141652527084100012014-11-20T23:14:30.841Z"4a2e6983cc5d72e809fd927bf5451fc9"152
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,256 DEBUG: path=/containers-prod/repositories/google/appengine-java/tag_1917c
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,256 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/tag_1917c
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,256 DEBUG: Method: HEAD
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,258 DEBUG: Path: /containers-prod/repositories/google/appengine-java/tag_1917c
2015-01-16 06:04:22,259 DEBUG: Data:
2015-01-16 06:04:22,259 DEBUG: Headers: {}
2015-01-16 06:04:22,259 DEBUG: Host: storage.googleapis.com
2015-01-16 06:04:22,259 DEBUG: Port: 443
2015-01-16 06:04:22,259 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,259 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,259 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,259 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:22,260 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,204 DEBUG: path=/containers-prod/repositories/google/appengine-java/tag_1917c
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,204 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/tag_1917c
2015-01-16 06:04:23,204 DEBUG: Method: GET
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,204 DEBUG: Path: /containers-prod/repositories/google/appengine-java/tag_1917c
2015-01-16 06:04:23,204 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,205 DEBUG: Headers: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,205 DEBUG: Host: storage.googleapis.com
2015-01-16 06:04:23,205 DEBUG: Port: 443
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,205 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,205 DEBUG: Token: None
2015-01-16 06:04:23,205 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
2015-01-16 06:04:23,206 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
2015-01-16 06:04:23,206 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,744 DEBUG: path=/containers-prod/repositories/google/appengine-java/tag_latest
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,744 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/tag_latest
2015-01-16 06:04:23,744 DEBUG: Method: HEAD
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: Path: /containers-prod/repositories/google/appengine-java/tag_latest
2015-01-16 06:04:23,745 DEBUG: Data:
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: Headers: {}
2015-01-16 06:04:23,745 DEBUG: Host: storage.googleapis.com
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: Port: 443
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: Token: None
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:23,745 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,252 DEBUG: path=/containers-prod/repositories/google/appengine-java/tag_latest
2015-01-16 06:04:24,252 DEBUG: auth_path=/containers-prod/repositories/google/appengine-java/tag_latest
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,252 DEBUG: Method: GET
2015-01-16 06:04:24,252 DEBUG: Path: /containers-prod/repositories/google/appengine-java/tag_latest
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,252 DEBUG: Data:
2015-01-16 06:04:24,253 DEBUG: Headers: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,253 DEBUG: Host: storage.googleapis.com
2015-01-16 06:04:24,253 DEBUG: Port: 443
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,253 DEBUG: Params: {}
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,253 DEBUG: Token: None
2015-01-16 06:04:24,254 DEBUG: GetAccessToken: checking cache for key 1eb006fc3f7d241dd7b9d98c9641af737382811d
DEBUG: Container: ad1dcc854edc: 2015-01-16 06:04:24,255 DEBUG: FileSystemTokenCache.GetToken: key=1eb006fc3f7d241dd7b9d98c9641af737382811d present (cache_file=/tmp/oauth2_client-tokencache.0.1eb006fc3f7d241dd7b9d98c9641af737382811d)
2015-01-16 06:04:24,255 DEBUG: GetAccessToken: token from cache: AccessToken(token=ya29._QCdQLL48TUI6uz-nmkwoJ15Px-7ilMBNvGg62pb_1_mB_tlpix9KVhY, expiry=2015-01-16 07:04:15.856191Z)
DEBUG: Container: ad1dcc854edc: "172.17.42.1 - - [16/Jan/2015:06:04:25] "GET /v1/repositories/google/appengine-java/tags HTTP/1.1" 200 155 "-" "docker/1.3.3 go/go1.3.3 git-commit/d344625 kernel/3.16.7-tinycore64 os/linux arch/amd64"
2015-01-16 06:04:25,017 INFO: "172.17.42.1 - - [16/Jan/2015:06:04:25] "GET /v1/repositories/google/appengine-java/tags HTTP/1.1" 200 155 "-" "docker/1.3.3 go/go1.3.3 git-commit/d344625 kernel/3.16.7-tinycore64 os/linux arch/amd64"
DEBUG: {"status":"Pulling repository localhost:49154/google/appengine-java"}
{"status":"Layer already being pulled by another client. Waiting.","progressDetail":{},"id":"c780bab5efb8"}{"status":"Download complete","progressDetail":{},"id":"c780bab5efb8"}{"errorDetail":{"message":"No such id: c780bab5efb855ad5ad4b5cc19e503368ed7e96eca1e4ee6243969bfa467b716"},"error":"No such id: c780bab5efb855ad5ad4b5cc19e503368ed7e96eca1e4ee6243969bfa467b716"}

INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
INFO: Exception Image with tag localhost:49154/google/appengine-java was not found thrown in Build. Retrying.
INFO: Looking for image_id for image with tag localhost:49154/google/appengine-java
DEBUG: "GET /v1.10/images/json?filter=localhost%3A49154%2Fgoogle%2Fappengine-java&only_ids=1&all=0 HTTP/1.1" 200 2
DEBUG: "POST /v1.10/containers/ad1dcc854edce7a67b123f14ef0f0dd75c88fc1b8276e12a641167cca629e03a/kill HTTP/1.1" 204 0
INFO: Starting new HTTPS connection (3): 192.168.59.104
DEBUG: "POST /v1.10/containers/edfbc3866e4c731c30938e9701318f9a6d8e2da66bc0badeb7daf4d5b42372dd/kill HTTP/1.1" 204 0
Traceback (most recent call last):
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 179, in
main()
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 175, in main
_cli.Execute()
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 427, in Execute
post_run_hooks=self.__post_run_hooks)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 835, in Run
result = command_instance.Run(args)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py", line 39, in Run
args.image_version)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/pull.py", line 50, in PullBaseDockerImages
util.PullSpecifiedImages(image_names, version, bucket)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/util.py", line 231, in PullSpecifiedImages
r.Pull(image_name, version)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 294, in Pull
self._WaitForImageReady(repo_image_tag)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 271, in _WaitForImageReady
_Retry(image.Build)
File "/Users/shane/dev/ext/google/gcloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/registry.py", line 55, in _Retry
raise e
google.appengine.tools.docker.containers.ImageError: Image with tag localhost:49154/google/appengine-java was not found
[~]$

@proppy
Copy link

proppy commented Jan 23, 2015

You can try the following instructions to use Google Container Registry instead of a local docker-registry daemon to deploy Managed VMs applications.

# Make sure gcloud is up to date
gcloud components update

# Enable Google Cloud Registry support
gcloud config set app/hosted_registry true

# Deploy (with a custom admin console URL for now)
gcloud preview app deploy --server=gcr.appengine.google.com .

# To disable Google Cloud Registry support if needed
gcloud config unset app/hosted_registry

@elsigh
Copy link

elsigh commented Apr 20, 2015

fwiw I seem to be having this problem locally, and not with deploy..

$ boot2docker version
Boot2Docker-cli version: v1.6.0

INFO 2015-04-20 21:57:14,724 containers.py:261] -------------------- DOCKER BUILD --------------------
INFO 2015-04-20 21:57:14,725 dispatcher.py:186] Starting module "default" running at: http://localhost:5000
INFO 2015-04-20 21:57:14,728 admin_server.py:118] Starting admin server at: http://localhost:8000
INFO 2015-04-20 21:57:14,910 containers.py:280] Step 0 : FROM google/appengine-python27
ERROR 2015-04-20 21:57:17,576 containers.py:283] Error: image google/appengine-python27:latest not found
INFO 2015-04-20 21:57:17,576 containers.py:292] --------------------------------------------------------
ERROR 2015-04-20 21:57:17,577 instance.py:280] Docker build aborted: Error: image google/appengine-python27:latest not found

@evolu8
Copy link

evolu8 commented May 19, 2015

Me too. Would be hugley greatful for a solution. This is blocking my adoption of the platform (after a lot of time intested in it). I know, my fault for choosing a beta product, but this would really save my bacon if there is a fix.

@elsigh
Copy link

elsigh commented May 22, 2015

I saw a note that this was fixed in the latest tools release, so I got rid of my pinned version number, did a gcloud components update, and then deployed a version which said it finished (yay) but then my server was ever-borked (returned 503s, no logs in the console, weird.) So I waited a few hours, came home and tried to redeploy. But no dice. :(

INFO: Exception 500 Server Error: Internal Server Error ("v1 ping attempt failed with error: Get http://gcr.io/v1/_ping: dial tcp: i/o timeout") thrown in ProgressHandler. Retrying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment