Unable to build from a Dockerfile in Openshift v3 ?

Solution In Progress - Updated -

Issue

  • Since upgrading to v3.0.2.0 I am unable to build images and push them to the OpenShift repository.

  • I attach some build output (build.txt), and output of the internal registry logs (registry_logs.txt). They mention 'localsubjectaccessreviews' which I've not been able to find anything out about from irc, google or docs.

  • I have tried:

    • deleting the project and recreating
    • restarting openshift-master
  • Build logs -

$ oc logs v3dockerpaas-1-build --follow

F1006 08:55:32.358425       1 builder.go:54] Build error: Failed to push image: Error pushing to registry: Authentication is required.
  • Registry logs -

time="2015-10-06T06:25:08-04:00" level=error msg="OpenShift client error: User \"system:serviceaccount:name:builder\" cannot create localsubjectaccessreviews in project \"name\"" time="2015-10-06T06:25:08-04:00" level=error msg="error authorizing context: access denied" http.request.host="172.x.x.x:5000" http.request.id=28400f78-c76f-4aa9-b1c4-27ac57409101 http.request.method=POST

Environment

  • Openshift v3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.