Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Concourse tries to pull docker image using wrong sha256 digest and fails

I am running Concourse 3.10.0, which I installed with the official helm chart, on GKE. I am getting this error, which refers to the wrong sha256:

Pulling registry.hub.docker.com/linkyard/concourse-helm-release@sha256:c47e868ec58fcf81b3b0d597bd10a91fc1908da4c13561e7834584997d1fcb9d...
Error response from daemon: pull access denied for registry.hub.docker.com/linkyard/concourse-helm-release, repository does not exist or may require 'docker login'

If I run docker pull linkyard/concourse-helm-resource:2.8.2-3 locally, it works, but downloads a different sha256.

It looks to me like I have run into issue 33 in concourse's docker-image-resource plugin, but that was fixed 2 years ago.

I had a little look at the Concourse Dockerfile and the helm chart, but I couldn't figure out how docker-image-resource gets included into the Concourse deployment.

How can I upgrade docker-image-resource to see if that fixes this bug?

like image 757
Robin Green Avatar asked Apr 25 '18 09:04

Robin Green


1 Answers

This was actually just a simple typo - concourse-helm-release instead of concourse-helm-resource - but the error messages were misleading.

For future reference, the docker-image-resource is baked into the Concourse docker image by BOSH, and the relevant version can be found in this file.

like image 103
Robin Green Avatar answered Nov 15 '22 10:11

Robin Green