On OCP 4.x, build fails with error : unable to look up the service account secrets for this build

Solution Verified - Updated -

Issue

  • The build fails with below error:
 message: Unable to look up the service account secrets for this build.
  output: {}
  phase: New
  reason: CannotRetrieveServiceAccount 

Environment

  • Red Hat OpenShift Container Platform
    • 4.15
    • 4.16
    • 4.17

NOTE For Red Hat OpenShift Container Platform 3.x, see: On OCP 3.x, build fails with error : unable to look up the service account secrets for this build

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