[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: OCP: Failed to push image: unauthorized: authentication req, uired



I've seen the issue where this error happens on the first build attempt. However I'm getting the error on subsequent builds. 

This is the first cluster I configure with the openshift-ovs-multitenant plugin. Could that be interfering?  

On 26 October 2017 at 17:11, Lionel Orellana <lionelve gmail com> wrote:
Hi,

In a new OCP 3.6 installation I'm trying to deploy JBoss EAP 7.0 from the catalog. 

This is in a project for which I am the admin.

It's failing to push the image to the registry 

Pushing image docker-registry.default.svc:5000/bimorl/jboss-eap70:latest ...
Registry server Address: 
Registry server User Name: serviceaccount
Registry server Email: serviceaccount example org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: unauthorized: authentication required

In the registry logs I see

172.23.140.1 - - [26/Oct/2017:05:08:19 +0000] "GET /openshift/token?account=serviceaccount&scope=repository%3Abimorl%2Fjboss-eap70%3Apush%2Cpull HTTP/1.1" 401 0 "" "docker/1.12.6 go/go1.8.3 kernel/3.10.0-693.2.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(go-dockerclient)"
time="2017-10-26T05:08:19.116844289Z" level=debug msg="invalid token: Get https://172.23.192.1:443/oapi/v1/users/~: Service Unavailable" go.version=go1.7.6 http.request.host="docker-registry.default.svc:5000" http.request.id=467674a1-8618-4986-9e7f-b92a06afa43d http.request.method=GET http.request.remoteaddr="172.23.140.1:38284" http.request.uri="/openshift/token?account=serviceaccount&scope=repository%3Abimorl%2Fjboss-eap70%3Apush%2Cpull" http.request.useragent="docker/1.12.6 go/go1.8.3 kernel/3.10.0-693.2.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(go-dockerclient)" instance.id=e5e8a55e-c3bc-4dfa-a706-e844ddbbdf44 openshift.logger=registry

Any ideas?

Thanks




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]