Bug 1798441
Summary: | Hit error API rate limit exceeded when running WSU | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | gaoshang <sgao> |
Component: | Windows Containers | Assignee: | Pratik Mahajan <pmahajan> |
Status: | CLOSED ERRATA | QA Contact: | gaoshang <sgao> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.0 | CC: | aos-bugs, gmarkley, rgudimet |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:14:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
gaoshang
2020-02-05 11:21:32 UTC
Wait for a while(at most 1 hour), re-run wsu passed. @gaoshang this is not caused by running the playbook but it so happens you ran the playbook when github started rate limiting the account due to high activity in general. We do not want to add authentication to the request as we would be adding a requirement for the user to have a github account. So there is no fix for the issue from a playbook perspective. (In reply to aravindh from comment #2) > @gaoshang this is not caused by running the playbook but it so happens you > ran the playbook when github started rate limiting the account due to high > activity in general. We do not want to add authentication to the request as > we would be adding a requirement for the user to have a github account. So > there is no fix for the issue from a playbook perspective. For API requests using Basic Authentication or OAuth, you can make up to 5000 requests per hour. For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Adding a requirement for the user to have a github account may avoid this issue, maybe we should also illustrate how to run wsu with a github account, thanks. # curl -i https://api.github.com/repos/openshift/windows-machine-config-operator/releases HTTP/1.1 200 OK Server: GitHub.com Date: Thu, 06 Feb 2020 04:34:40 GMT Content-Type: application/json; charset=utf-8 Content-Length: 64761 Status: 200 OK X-RateLimit-Limit: 60 X-RateLimit-Remaining: 32 X-RateLimit-Reset: 1580965440 (In reply to gaoshang from comment #3) > For API requests using Basic Authentication or OAuth, you can make up to > 5000 requests per hour. For unauthenticated requests, the rate limit allows > for up to 60 requests per hour. Adding a requirement for the user to have a > github account may avoid this issue, maybe we should also illustrate how to > run wsu with a github account, thanks. I would agree with you if we were going GA with WSU. However this is going to be only released as a preview for customers. So the fix for this would be to document the scenario. In the operator model this will not be an issue as we won't be reaching out to GitHub for the binaries. Sure, document the scenario as a fix would be OK. QE testing passed by checking doc https://github.com/openshift/windows-machine-config-bootstrapper/tree/master/tools/ansible#api-rate-limit-exceeded-error-when-running-wsu, thanks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |