Repository navigation
Closed
Labels
Description
Bug Report
I set up concourse via docker-compose on a fresh Vultr server on Debian 9. It seemed to work but when trying to follow the tutorial I get to an error whenever concourse tries to pull a docker image:
pipeline log
Pulling alpine@sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64...
sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64: Pulling from library/alpine
2fdfe1cd78c2: Pulling fs layer
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/e2/e21c333399e0aeedfd70e8827c9fba3f8e9b170ef8a48a29945eb7702bf6aa5f/data?Expires=1513620667&Signature=WWbsgg7qN9CFWN64Jo9Z5uOds7R-FKHMUzM9-Z2D0wuW5JQDBI-JJgWSmS7GdMnXowUmVTg25Q0JLU8BfjWOhZllkFFcgpoImvEUtTAZ-LF~B8v3Bubearka6H1K2S5Tr76CHZ~zTQiYDZP3trodURfDlOkTUSBCi4U3s3rGTKY_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: dial tcp: lookup dseasb33srnrn.cloudfront.net on 172.19.0.4:53: read udp 10.254.0.82:41415->172.19.0.4:53: i/o timeout
Pulling alpine@sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64 (attempt 2 of 3)...
sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64: Pulling from library/alpine
2fdfe1cd78c2: Pulling fs layer
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/e2/e21c333399e0aeedfd70e8827c9fba3f8e9b170ef8a48a29945eb7702bf6aa5f/data?Expires=1513620679&Signature=H01Af0djrVVwMf3v9BXFVG4gQ3s-z8~4xui3JI3vd369cwzPXaIGW9Nl7N1-DlPESPGTxENDvZoWuOlOpqS2wzLtoYt1vzbw1SrxWkWXIbmy8xIEOPUofaiEvuSNuGLUfIF5AbKIOlcQYDZIp3IXsNGtWsPeDQ5nEOpC2HNB5Hk_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: dial tcp: lookup dseasb33srnrn.cloudfront.net on 172.19.0.4:53: read udp 10.254.0.82:54768->172.19.0.4:53: i/o timeout
Pulling alpine@sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64 (attempt 3 of 3)...
sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64: Pulling from library/alpine
2fdfe1cd78c2: Pulling fs layer
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/e2/e21c333399e0aeedfd70e8827c9fba3f8e9b170ef8a48a29945eb7702bf6aa5f/data?Expires=1513620690&Signature=ZWtl0c7F2gZ-F3W-HK90jhyFSIJrUzeBCv-31dznVXKFnSsn-Gh2Gu40-SHiq0oJkH9sPwAA~x0jYxt8TqYicS5uSfWMsZNzN0B1AOMzAI6F5Bp-KIHEbdt9mk5vvdlVypCQFSQFNkmYDH-Lix54hMcebLbL~ufy0zQ5YmjCNK8_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: dial tcp: lookup dseasb33srnrn.cloudfront.net on 172.19.0.4:53: read udp 10.254.0.82:58817->172.19.0.4:53: i/o timeout
Failed to pull image alpine@sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64.
resource script '/opt/resource/in [/tmp/build/get]' failed: exit status 1
(replaced ubuntu with alpine in tutorial, to see if that was the problem)
docker-compose.yml
version: '3'
services:
concourse-db:
image: postgres:9.6
environment:
POSTGRES_DB: concourse
POSTGRES_USER: concourse
POSTGRES_PASSWORD: somepassword
PGDATA: /database
concourse-web:
image: concourse/concourse
links: [concourse-db]
command: web
depends_on: [concourse-db]
ports: ["8080:8080"]
volumes: ["./keys/web:/concourse-keys:Z"]
restart: unless-stopped # required so that it retries until concourse-db comes up
environment:
CONCOURSE_GITHUB_AUTH_CLIENT_ID: someclientid
CONCOURSE_GITHUB_AUTH_CLIENT_SECRET: somesecret
CONCOURSE_GITHUB_AUTH_USER: maritz
CONCOURSE_EXTERNAL_URL: "http://my.domain.example.com:8080"
CONCOURSE_POSTGRES_HOST: concourse-db
CONCOURSE_POSTGRES_USER: concourse
CONCOURSE_POSTGRES_PASSWORD: somepassword
CONCOURSE_POSTGRES_DATABASE: concourse
concourse-worker:
privileged: true
image: concourse/concourse
links: [concourse-web]
depends_on: [concourse-web]
command: worker
volumes: ["./keys/worker:/concourse-keys:Z"]
restart: unless-stopped # required so that it retries until concourse-db comes up
environment:
CONCOURSE_TSA_HOST: concourse-web
docker info
Containers: 3
Running: 0
Paused: 0
Stopped: 3
Images: 5
Server Version: 17.09.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.0-3-amd64
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.957GiB
Name: myhostname
ID: someid
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
When I attach to the running concourse-worker and try to ping dseasb33srnrn.cloudfront.net it seems to work fine, so at least the container has a working network connection.
Reacted by Sylvain Desbureaux
Activity
maritz commentedon Dec 18, 2017
Attaching to the running container and changing /etc/resolv.conf to point towards 8.8.8.8 fixed it for me.
What would cause this?
For now I've resolved it on my end by putting the dns config in my docker-compose.yml for the worker service.
chris-aeviator commentedon Feb 7, 2018
@maritz
I am facing the same issue - but when changing the nameserver in
/etc/resolv.conffrom127.0.0.1to8.8.8.8, the worker is not able anymore to connect to the TSAAdditionally to your given docker-compose file I am runnig my setup behind a nginx-reverse proxy, so I have also in my config:
sdesbure commentedon Feb 9, 2018
HI, I've got the exact same problem!
jama22 commentedon Apr 3, 2018
Closing because we've done away with the tutorial in favour of using the more popular https://concoursetutorial.com/ from Stark and Wayne
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
itsvaibhav01 commentedon Nov 29, 2019
Thanks Man changing the conf did the work for me!!