-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
podman fails to download a image through redirect urls #15187
Comments
Thanks for reaching out, @rahulguptajss! @mtrmac FYI |
This seems related (but the information above is not enough to tell for sure) to containers/image#641 . Follow the chain of links of PRs etc. for the full discussion. IIRC it’s a set of fairly subtle behaviors and interactions — still, something we should fix. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@mtrmac @vrothberg was this ever fixed? |
No, containers/image#64 is still open |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman fails to pull an image through a redirect repo. Docker works just fine.
Steps to reproduce the issue:
1: Running below command fails with error.
Command:
podman --log-level=debug pull cr.netapp.io/harvest:latest
Error:
DEBU[0000] GET https://cr.netapp.io/v2/ DEBU[0002] Ping https://cr.netapp.io/v2/ status 401 DEBU[0002] GET https://netappdownloads.jfrog.io/artifactory/api/docker/oss-docker/v2/token?scope=repository%3Aharvest%3Apull&service=netappdownloads.jfrog.io DEBU[0004] GET https://cr.netapp.io/v2/harvest/manifests/latest DEBU[0005] Content-Type from manifest GET is "application/json;charset=ISO-8859-1" DEBU[0005] Accessing "cr.netapp.io/harvest:latest" failed: reading manifest latest in cr.netapp.io/harvest: unauthorized DEBU[0005] Error pulling candidate cr.netapp.io/harvest:latest: initializing source docker://cr.netapp.io/harvest:latest: reading manifest latest in cr.netapp.io/harvest: unauthorized
Command
docker pull cr.netapp.io/harvest:latest
works fine.If I use the URL which cr.netapp.io redirects to with podman then it works fine. Below command works.
podman pull --log-level=debug netappdownloads.jfrog.io/oss-docker-harvest-production/harvest:latest
Describe the results you expected:
podman should be able to download docker image for redirect URLs.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: