BuildConfig timed out waiting for condition 400: Bad Request in RHOCP4

Solution Verified - Updated -

Issue

  • When creating a BuildConfig by giving configmap reference, giving 400 bad request error.

    Uploading finished
    I0623 11:40:21.079482  821384 helpers.go:216] server response object:
    [{
    "metadata": {},
    "status": "Failure",
    "message": "unable to wait for build test-configmap-input-bc-4 to run: timed out waiting for the condition",
    "reason": "BadRequest",
    "code": 400
    }]
    
  • The build should have prompted the unavailable resources instead of waiting for the timeout condition.

Environment

  • Red Hat OpenShift Container Platform in 4.6

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