containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECS][Request]: improve description when Docker Image is not Found

Open colinbjohnson opened this issue 2 years ago • 2 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request

This feature request (to provide greater clarity when a Docker image is not available) is a UX improvement that will aid issue diagnosis and give the ECS product a more finished feel.

Which service(s) is this request for?

ECS Fargate, possibly ECS.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

The issue I'm trying to solve is that the error message provided when a Docker Image is not available is not likely to be understood by an ECS user.

Are you currently working around this issue?

Institutional knowledge.

Additional context

Obviously, I made a mistake by trying to launch the latest:latest image but the error message "InternalError: failed to create container model: failed to normalize image reference" is not going to be understood by anyone. If you search for this phrase (failed to normalize image reference) on the Internet you'll see at 1,000+ post.

If you wanted to really have a good user experience you could link to a troubleshooting document or state clearly "the image tag ${image_tag} does not exist in the specified repository".

Attachments

ECS - Image Not Found

colinbjohnson avatar Aug 23 '23 04:08 colinbjohnson

Failed to normalize image reference may mean a lot of different things. Clearer message would be appreciated.

I am also experiencing this issue, but the Image reference is correct. This does not help.

PeterBocan avatar Sep 20 '23 10:09 PeterBocan

This message also is returned on Status reason for Batch jobs. Would be interesting more information for this message or something more clear.

audwn-ie avatar Apr 17 '24 09:04 audwn-ie