Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): Sat6.9 snap 17 Steps to Reproduce: 1. Create a product and repo with images (in this case, hello-world [1]) 2. Create a Content View of the container images and publish it 3. On the CLI, login to Satellite Server: podman login --tls-verify=false <sat6> 4. Create a CCV, add above CV, publish, promote to atest LCE 5. podman search --tls-verify=false <sat6>/default_organization 6. Try to pull all the images listed in the search step Actual results: I see some : Requesting bear token: invalid status code from registry 500 (Internal Server Error) Trying to pull dhcp-2-45/default_organization-pm_test-b-docker-docker-images-hello-world:latest... Getting image source signatures Copying blob b8dfde127a29 [--------------------------------------] 0.0b / 0.0b Copying config d1165f2212 done Writing manifest to image destination Storing signatures d1165f2212346b2bab48cb01c1e39ee8ad1be46b87873d9ca7a4e434980a7726 [sjw@t480s tmp]$ podman pull --tls-verify=false dhcp-2-45/default_organization-docker-images-3_0-docker-images-hello-world Trying to pull dhcp-2-45/default_organization-docker-images-3_0-docker-images-hello-world:latest... Requesting bear token: invalid status code from registry 500 (Internal Server Error) Error: Error initializing source docker://dhcp-2-45/default_organization-docker-images-3_0-docker-images-hello-world:latest: Requesting bear token: invalid status code from registry 500 (Internal Server Error) [sjw@t480s tmp]$ podman pull --tls-verify=false dhcp-2-45/default_organization-docker-images-hello-world Trying to pull dhcp-2-45/default_organization-docker-images-hello-world:latest... Getting image source signatures Copying blob b8dfde127a29 [--------------------------------------] 0.0b / 0.0b Copying config d1165f2212 done Writing manifest to image destination Storing signatures d1165f2212346b2bab48cb01c1e39ee8ad1be46b87873d9ca7a4e434980a7726 [sjw@t480s tmp]$ podman pull --tls-verify=false dhcp-2-45/default_organization-docker-images-1_0-docker-images-hello-world Trying to pull dhcp-2-45default_organization-docker-images-1_0-docker-images-hello-world:latest... Requesting bear token: invalid status code from registry 500 (Internal Server Error) Error: Error initializing source docker://dhcp-2-45/default_organization-docker-images-1_0-docker-images-hello-world:latest: Requesting bear token: invalid status code from registry 500 (Internal Server Error) Expected results: Either an image can be pulled or a meaningful error message is given Additional info: [1] https://hub.docker.com/_/hello-world
The root cause is that podman search returned versioned repos, but we don't support pulling them today. Technically you could have pulled via crane with pulp2, but they never got synced to capsules. I'm going to propose we do not return these in the search results.
we should also return 404 if a user tries to pull these repos
Created redmine issue https://projects.theforeman.org/issues/32159 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32159 has been resolved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702