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

[GH Request] CI checks failing due to Dockerhub rate limiting #1350

Closed
bmtcril opened this issue Jan 9, 2025 · 9 comments
Closed

[GH Request] CI checks failing due to Dockerhub rate limiting #1350

bmtcril opened this issue Jan 9, 2025 · 9 comments
Assignees
Labels
github-request Request for change to access level or settings in the openedx GitHub organization.

Comments

@bmtcril
Copy link
Contributor

bmtcril commented Jan 9, 2025

Firm Name

Axim

Urgency

Medium (< 2 weeks)

Problem/Request

From https://axim-collaborative.slack.com/archives/C12M8M5AR/p1736434755199059 :

Yesterday and today I've seen edx-platform CI checks failing intermittently with this error:
Unable to find image 'mongo:7.0' locally
7.0: Pulling from library/mongo
docker: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
Is this familiar to anyone? Wondering if we need to change something on the runners.

We should see if we can do something to cache / mirror our image pulls in CI, which may speed things up in addition to reducing our pull rates.

Reasoning

We'd like CI to pass reliably. :sli

@bmtcril bmtcril added the github-request Request for change to access level or settings in the openedx GitHub organization. label Jan 9, 2025
@bmtcril bmtcril self-assigned this Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Thank you for your report! @openedx/axim-oncall will triage within a business day. Simple requests usually take 2-3 business days to resolve; more complex requests could take longer.

@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 9, 2025

openedx/edx-platform#36089 is our best guess right now. Dockerhub seemed to be rate limiting us based on an unauthenticated threshold, so we're authenticating before the pull now. It doesn't seem to harm anything, if it lands I can monitor for those failures to see if it solves things.

@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 13, 2025

This PR broke fork CI, and was subsequently fixed in openedx/edx-platform#36100 . That seems to be have solved or at least lessened the issue, so I'm closing this for now. I'll continue monitoring for the next few days.

@bmtcril bmtcril closed this as completed Jan 13, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Axim Engineering Tasks Jan 13, 2025
@timmc-edx
Copy link

Looks like this might not have fixed it... https://github.com/openedx/edx-platform/actions/runs/12775202089/job/35611041323

Image

@robrap
Copy link

robrap commented Jan 14, 2025

[inform] I opened a newer ticket, not know this existed. Feel free to work from whichever ticket makes more sense. See:

@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 15, 2025

Thanks for the heads up, I'll reopen this one and work from here.

@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 15, 2025

openedx/edx-platform#36110 is the latest. The caching works, but it takes a full run to take effect since all of the jobs kick off at the same time and the cache isn't written until the job completes.

kdmccormick pushed a commit to openedx/edx-platform that referenced this issue Jan 15, 2025
Another attempt to stop Dockerhub from rate limiting us in CI. If this
works here, we'll try to add this caching to other relevant workflows.

openedx/axim-engineering#1350 (comment)
@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 15, 2025

I haven't seen any more of these since the last changes, so I'm going to close again. There are some other possible places where we may get some small benefit from caching, but mostly they're using service entries and I'm not at all certain it will help there.

@bmtcril bmtcril closed this as completed Jan 15, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Axim Engineering Tasks Jan 15, 2025
@robrap
Copy link

robrap commented Jan 16, 2025

Thank you and 🤞.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github-request Request for change to access level or settings in the openedx GitHub organization.
Projects
Status: Done
Development

No branches or pull requests

3 participants