Created
January 15, 2015 23:32
-
-
Save sbuss/906274f5019931f7cff6 to your computer and use it in GitHub Desktop.
deis pull problems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I have a container called `lambda-ci`, tagged with the current git HEAD commit hash and as 'latest' | |
$ docker build -t docker-registry.deis.counsyl.com/lambda-ci:`git rev-parse HEAD` . | |
$ docker tag docker-registry.deis.counsyl.com/lambda-ci:`git rev-parse HEAD` docker-registry.deis.counsyl.com/lambda-ci:latest | |
# I pushed it to our internal docker repo | |
$ docker push docker-registry.deis.counsyl.com/lambda-ci | |
# Normally I should be able to deis pull... | |
$ deis pull docker-registry.deis.counsyl.com/lambda-ci -a lambda-ci | |
# but it fails: | |
Creating build... 503 SERVICE UNAVAILABLE | |
GET Image Error (404: {"error": "Tag not found"}) | |
# Checking some logs shows it can't create the latest tag, so the whole deploy fails | |
$ deisctl journal controller | |
Jan 15 22:49:49 ip-10-128-1-226.counsyl.com sh[24443]: 15/Jan/2015:22:49:49 +0000 INFO: Starting new HTTP connection (1): docker-registry.deis.counsyl.com | |
Jan 15 22:49:50 ip-10-128-1-226.counsyl.com sh[24443]: 15/Jan/2015:22:49:50 +0000 INFO: Starting new HTTP connection (1): docker-registry.deis.counsyl.com | |
Jan 15 22:49:50 ip-10-128-1-226.counsyl.com sh[24443]: 15/Jan/2015:22:49:50 +0000 INFO: Starting new HTTP connection (1): docker-registry.deis.counsyl.com | |
Jan 15 22:49:50 ip-10-128-1-226.counsyl.com sh[24443]: 15/Jan/2015:22:49:50 +0000 INFO: Starting new HTTP connection (1): docker-registry.deis.counsyl.com | |
Jan 15 22:49:54 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:54 +0000] "POST /v1/repositories/lambda-ci/tags HTTP/1.1" 500 84 "-" "python-requests/2.5.1 CPython/2.7.6 Linux/3.17.7+" | |
Jan 15 22:49:54 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:54 +0000] "GET /v1/repositories/lambda-ci/tags/latest HTTP/1.1" 404 26 "-" "docker/0.9.0" | |
Jan 15 22:49:54 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:54 +0000] "PUT /v1/images/2d7a116091554ab29600118d376f4faa2d7a116091554ab29600118d376f4faa/json HTTP/1.1" 200 4 "-" "docker/0.9.0" | |
Jan 15 22:49:55 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:55 +0000] "PUT /v1/images/2d7a116091554ab29600118d376f4faa2d7a116091554ab29600118d376f4faa/layer HTTP/1.1" 200 4 "-" "docker/0.9.0" | |
Jan 15 22:49:55 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:55 +0000] "PUT /v1/images/2d7a116091554ab29600118d376f4faa2d7a116091554ab29600118d376f4faa/checksum HTTP/1.1" 200 4 "-" "docker/0.9.0" | |
Jan 15 22:49:56 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:56 +0000] "PUT /v1/repositories/lambda-ci/tags/v0 HTTP/1.1" 200 4 "-" "docker/0.9.0" | |
Jan 15 22:49:56 ip-10-128-1-226.counsyl.com sh[24443]: 172.17.42.1 - - [15/Jan/2015:22:49:56 +0000] "GET /v1/repositories/lambda-ci/tags/latest HTTP/1.1" 404 26 "-" "docker/0.9.0" | |
# Destroying and re-creating the application does not resolve any issues. | |
# Note that I *can* create the `latest` tag for other containers, so it seems | |
# like there's something special about this one that deis doesn't like. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment