Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/e2e: hitting docker.io/library/registry pull rate limit #182

Closed
wainersm opened this issue Mar 14, 2023 · 5 comments · Fixed by #184
Closed

tests/e2e: hitting docker.io/library/registry pull rate limit #182

wainersm opened this issue Mar 14, 2023 · 5 comments · Fixed by #184
Assignees

Comments

@wainersm
Copy link
Member

Describe the bug

The SEV job has failed due to hitting pull rate limit of the docker.io/library/registry:

13:27:03 TASK [Start a docker registry] *************************************************
13:27:10 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error pulling docker.io/library/registry - code: None message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: [https://www.docker.com/increase-rate-limit"}](https://www.docker.com/increase-rate-limit%22%7D)
13:27:10 

That image is used on the e2e CI to start a locally registry: https://github.com/confidential-containers/operator/blob/main/tests/e2e/ansible/start_docker_registry.yml

Let's replace that image. Maybe push to quay.io?

@wainersm
Copy link
Member Author

@ryansavino @fitzthum @UnmeshDeodhar are you aware of that problem? Anyone working to solve it?

@UnmeshDeodhar
Copy link
Contributor

I can work on this @wainersm .

@wainersm
Copy link
Member Author

Cool, thanks @UnmeshDeodhar

@ryansavino
Copy link
Member

@wainersm we were discussing a bit in slack.

image: docker.io/library/registry:latest

Can we host a registry image from quay?

@wainersm
Copy link
Member Author

Hi @ryansavino ,

@wainersm we were discussing a bit in slack.

image: docker.io/library/registry:latest

Can we host a registry image from quay?

Yesterday I spent some time looking for images that could replace docker.io/library/registry:latest and I found none. So if there isn't any legal impediment (I don't think there is) then we could have a copy of that image on quay.io, yes.

UnmeshDeodhar added a commit to UnmeshDeodhar/operator that referenced this issue Mar 22, 2023
Changing registry to a fixed version so that we will not hit the docker hub rate limit.

Fixes: confidential-containers#182

Signed-off-by: Unmesh Deodhar <udeodhar@amd.com>
UnmeshDeodhar added a commit to UnmeshDeodhar/operator that referenced this issue Mar 27, 2023
Switch to a fixed version of the registry containers, so a new version is not pulled in every time a test runs, avoiding then hitting the docker hub rate limit.

Fixes: confidential-containers#182

Signed-off-by: Unmesh Deodhar <udeodhar@amd.com>
UnmeshDeodhar added a commit to UnmeshDeodhar/operator that referenced this issue Mar 27, 2023
Switch to a fixed version of the registry containers, so a new version
is not pulled in every time a test runs, avoiding then hitting the
docker hub rate limit.

Fixes: confidential-containers#182

Signed-off-by: Unmesh Deodhar <udeodhar@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants