API limit issues in Ansible Playbooks of Openshift 3: kubernetes.client.rest.ApiException: (429)

Solution In Progress - Updated -

Issue

  • Errors in Ansible playbooks denoted bykubernetes.client.rest.ApiException: (429) means that API has reached its limit, provoking timeouts in operations under statement of Too 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content