Deployment or build pipelines failing with exception trying to GET response code: 429

Solution Unverified - Updated -

Issue

  • Deployment or build pipelines fail like below errors.
Exception message "Exception trying to GET https://x.x.x.x/apis/servicecatalog.k8s.io/v1beta1 response code: 429".
  • Build pod logs shows errors like below
$ oc logs bc/<build-pod> -n <project>
...
An exception occurred invoking a REST operation against the OpenShift master.  The operation will be retried.  Exception message "Exception trying to GET https://x.x.x.x/apis/servicecatalog.k8s.io/v1beta1 response code: 429".
After a few retries, giving up invoking the REST operation against the OpenShift master.  Final exception message "Exception trying to GET https://x.x.x.x/apis/servicecatalog.k8s.io/v1beta1 response code: 429".
com.openshift.restclient.OpenShiftException: Exception trying to GET https://x.x.x.x/apis/servicecatalog.k8s.io/v1beta1 response code: 429
    at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:114)
    at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
Starting "Verify OpenShift Deployment" with deployment config "XXX-it02" from the project "integration-cis-XXX".
  Waiting on the latest deployment for "XXX-it02" to complete ...
Operation will timeout after 600000 milliseconds
com.openshift.restclient.NotFoundException: Not Found
......

Environment

  • Red Hat OpenShift Container Platform (OCP) v3.9

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