Concourse: Error message on invalid docker-image repository

Created on 23 Mar 2017  路  3Comments  路  Source: concourse/concourse

Feature Request

Hello! I had a docker-image resource-type with an incorrect repository. The resource that depended on this resource_type offered no output in the UI - it just showed "Checking successfully"

The check-resource command offered this output:

fly -t push check-resource -r init/git-pull-requests
error: check failed with exit status '1':
failed to fetch digest: 401 Unauthorized

Logging that it failed to get the docker image in the UI, or making a more clear error message, would be helpful, thanks!

bug troubleshooting

Most helpful comment

I completely agree, in general the error messages, even on the logs, are pretty useless, you always need to guess what is happening.

All 3 comments

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • [ ] [#142285773](https://www.pivotaltracker.com/story/show/142285773) Error message on invalid docker-image repository

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

I completely agree, in general the error messages, even on the logs, are pretty useless, you always need to guess what is happening.

Indeed, we had a user today very confused as to why his pipeline was not working.

- name: build
  serial: true
  plan:
  - get: git
    trigger: true
  - task: build
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: IMAGE_THAT_DOESNT_EXIST_IN_DOCKER_HUB
          tag: latest
     .. ... ..

screen shot 2018-07-06 at 2 15 16 pm

Was this page helpful?
0 / 5 - 0 ratings