I fixed the problem by changing setting in registry console.

For my project, change the permissions to "Project access policy allows 
anonymous users to pull images. Grant additional push or admin access to 
specific members below."



Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

________________________________
From: Łukasz Strzelec <[email protected]>
Sent: Thursday, October 19, 2017 6:37:46 PM
To: Yu Wei
Cc: [email protected]
Subject: Re: authentication required even for pulling images from private 
registry

Hello:)

I had the same issue. In our ENV we are obligated to use proxy server. Thus we 
put to inventory statements regarding proxy. We forgot to add registry to 
"noproxy" line.  The result was exactly as you pointed.

I hope this may help you or at least  guide to diffrent solution.

Best regards

2017-10-18 19:31 GMT+02:00 Yu Wei 
<[email protected]<mailto:[email protected]>>:

Hi,

I setup openshift origin cluster 3.6 and found a problem with private registry.

Image was failed to be pulled by work node with error as below,

rpc error: code = 2 desc = unauthorized: authentication required


However, the registry works well and I also could find the image via 
docker-console.

I installed the cluster via "Advanced installation". It seemed insecure 
registry is not enabled.


How could I check what's wrong in my env?



Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Ł.S.
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to