Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

[BUG] - Image is not available to pull #9

Closed
odellem opened this issue Jun 13, 2024 · 4 comments
Closed

[BUG] - Image is not available to pull #9

odellem opened this issue Jun 13, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@odellem
Copy link

odellem commented Jun 13, 2024

Describe the bug
Pods get ErrImagePull and cannot pull from the public repository

To Reproduce
Steps to reproduce the behavior:

  1. Install the operator via Helm
  2. Pod cannot start because it needs to pull from the repository

Expected behavior
The pod starts.

Desktop (please complete the following information where applicable:

  • Kubernetes 1.29

Additional context

  • Kind cluster
@odellem odellem added the bug Something isn't working label Jun 13, 2024
@happytreees
Copy link
Contributor

Hello @odellem

We are seeing a lot of successful anonymous pulls on this public repo so it does not appear to be anything widespread. Can you share the following:

  1. What country is the pull being attempted from?
  2. Can you share the full event output of the failing pod?

@odellem
Copy link
Author

odellem commented Jun 14, 2024

  1. US East
16h                    Warning   Failed                            Pod/slinkee-operator-5d684988-wd7jx    Failed to pull image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to pull and unpack image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://cne-ewr-minio-000.vultr.dev/vcr-ewr/docker/registry/v2/blobs/sha256/25/25d895424c791d82fafe605921a05618ff2262447a470d53a93dbc66e84c1fa6/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=yg1F6lopMheulWYqqHf1%2F20240613%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240613T221814Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=066881ddb3156aaae5a6191c3237b5556120ed4034dd743b95e17d45ba0da062": EOF
16h                    Warning   Failed                            Pod/slinkee-operator-5d684988-wd7jx    Failed to pull image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to pull and unpack image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://cne-ewr-minio-000.vultr.dev/vcr-ewr/docker/registry/v2/blobs/sha256/25/25d895424c791d82fafe605921a05618ff2262447a470d53a93dbc66e84c1fa6/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=yg1F6lopMheulWYqqHf1%2F20240613%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240613T221831Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=ffc03ed230e844705ca3bd934f25daf947cd7f8fe1eec6555170e7551d2db803": EOF
16h (x3 over 16h)      Normal    Pulling                           Pod/slinkee-operator-5d684988-wd7jx    Pulling image "ewr.vultrcr.com/slurm/slinkee:v0.0.1"
16h (x3 over 16h)      Warning   Failed                            Pod/slinkee-operator-5d684988-wd7jx    Error: ErrImagePull
16h                    Warning   Failed                            Pod/slinkee-operator-5d684988-wd7jx    Failed to pull image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to pull and unpack image "ewr.vultrcr.com/slurm/slinkee:v0.0.1": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://cne-ewr-minio-000.vultr.dev/vcr-ewr/docker/registry/v2/blobs/sha256/25/25d895424c791d82fafe605921a05618ff2262447a470d53a93dbc66e84c1fa6/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=yg1F6lopMheulWYqqHf1%2F20240613%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240613T221859Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=6f19ad539dc4fecf72e88fccede5309ac325fc502d73a400cb0b1845aa710290": EOF
16h (x4 over 16h)      Normal    BackOff                           Pod/slinkee-operator-5d684988-wd7jx    Back-off pulling image "ewr.vultrcr.com/slurm/slinkee:v0.0.1"
16h (x4 over 16h)      Warning   Failed                            Pod/slinkee-operator-5d684988-wd7jx    Error: ImagePullBackOff
115s (x229 over 16h)   Warning   FailedToRetrieveImagePullSecret   Pod/slinkee-operator-5d684988-wd7jx    Unable to retrieve some image pull secrets (vcr); attempting to pull the image may not succeed.

@happytreees
Copy link
Contributor

Hey @odellem thank you for providing that. It looks like you are seeing an EOF which is likely due to networking latency between the machine pulling the images and the CR. It's a rather small image(150mb) so there aren't any limiters in-place that would prevent that from going through other than just latency.

I attempted a pull from an AWS ec2 instance in us-east2 and there were zero issues, so pulls from outside the Vultr network appear operational as well.

# docker pull ewr.vultrcr.com/slurm/slinkee:latest
latest: Pulling from slurm/slinkee
...
Status: Downloaded newer image for ewr.vultrcr.com/slurm/slinkee:latest
ewr.vultrcr.com/slurm/slinkee:latest

We will explore adding additional mirrors of the image to other CR's, however, at this time it is only uploaded to Vultr CR. One thing you may do to get around this is to download the image onto another machine and upload it to a CR of your choice and simply modify the helm values to reflect the new repo.

I will be closing this issue as it does not appear to be a larger issue outside of possible latency.

@happytreees happytreees self-assigned this Jun 14, 2024
@odellem
Copy link
Author

odellem commented Jun 14, 2024

When I try switching machines the other machines had the same issues. I am assuming this is an IT firewall issue. Thanks for doing the sanity check for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants