Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling OpenShift image causes authentication required error #6

Open
imicer opened this issue Aug 25, 2020 · 1 comment
Open

Pulling OpenShift image causes authentication required error #6

imicer opened this issue Aug 25, 2020 · 1 comment

Comments

@imicer
Copy link

imicer commented Aug 25, 2020

I follow the document to check if register image can be pulled when running 7-1 section, but the error message is output as below:

[root@support data]# podman pull ${REG_DOMAIN}/${REPO_NAME}:4.3.29-jenkins
Trying to pull registry.example.internal:5000/ocp4/openshift4:4.3.29-jenkins...
  unauthorized: authentication required
Error: error pulling image "registry.example.internal:5000/ocp4/openshift4:4.3.29-jenkins": unable to pull registry.example.internal:5000/ocp4/openshift4:4.3.29-jenkins: unable to pull image: Error initializing source docker://registry.example.internal:5000/ocp4/openshift4:4.3.29-jenkins: Error reading manifest 4.3.29-jenkins in registry.example.internal:5000/ocp4/openshift4: unauthorized: authentication required

But after I tried to login register server manually, I can pull the image from register.

[root@support data]# podman login -u openshift -p redhat ${REG_DOMAIN}/${REPO_NAME}
Login Succeeded!

podman pull ${REG_DOMAIN}/${REPO_NAME}:4.3.29-jenkins
Trying to pull registry.example.internal:5000/ocp4/openshift4:4.3.29-jenkins...
Getting image source signatures
Copying blob bb0da44cdbce skipped: already exists
Copying blob e5c9533b7ed4 skipped: already exists
Copying blob 9a25c2505050 skipped: already exists
Copying blob be4744d193f3 skipped: already exists
Copying blob 387a8b21e217 [--------------------------------------] 0.0b / 0.0b
Copying config 37fbafe9d8 done
Writing manifest to image destination
Storing signatures
37fbafe9d870cdc3abb9bca9df5dd86004fba386fcccfa26b87a2ca2435fbbe4

Can you help take a look?
I suspect this error is related to co/authentication, I am still blocked by this issue now!
Thanks.

@liuxiaoyu-git
Copy link
Owner

You could omit that line and move forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants