OpenShift builds fail to push image after removing default cluster roles

Solution Verified - Updated -

Issue

  • OpenShift builds fail with image push authorization errors reported in the application build log:

    $ oc logs myapp-30-build
    ...
    error: build error: Failed to push image: unauthorized: authentication required
    
  • Developers are not able to build or push new images

Environment

  • OpenShift Container Platform (OCP) 3.X

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