API limit issues in Ansible Playbooks of Openshift 3: kubernetes.client.rest.ApiException: (429)
Issue
- Errors in Ansible playbooks denoted by
kubernetes.client.rest.ApiException: (429)means that API has reached its limit, provoking timeouts in operations under statement ofToo Many Requests
File "/usr/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 321, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "/usr/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 155, in __call_api
_request_timeout=_request_timeout)
File "/usr/local/lib/python2.7/site-packages/kubernetes/client/rest.py", line 222, in request
raise ApiException(http_resp=r)
ApiException: (429)
Reason: Too Many Requests
Code related can be found here.
Environment
- Openshift Container Platform 3.11 (OCP).
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.