containers / skopeo

Work with remote images registries - retrieving information, images, signing content
Apache License 2.0
8.36k stars 785 forks source link

Skopeo Tag v1.16.0 Manifest errors on pull-through with podman #2416

Closed CubexsOne closed 2 months ago

CubexsOne commented 2 months ago

In our project environment, we use a harbour registry with a pull-through mirror function to clone images to us accordingly.

Now we are in the process of updating our dependencies and one of them is Skopeo.

If we pull the image with docker from a Macbook with --platform linux/amd64 it works perfectly.

If we do this with podman on a Linux machine, we get an error message that something is not found.

According to the operator of our registry it seems to be a problem in the manifest from the original repo.

Image: skopeo/stable:v1.16.0

For further questions, please write. I am happy about any help

Best regards CubexsOne 377f954f-3d2d-40b4-8f12-eb8d2e8fe6ad 479f8d47-402b-4ce9-92cf-24d8cf85d312

mtrmac commented 2 months ago

Thanks for reaching out.

I think this needs to be diagnosed server-side, on whatever the blanked-out server is. “not found: repo quay/skopeo/stable, tag not found” (including the double-space after “tag”, suggesting maybe an empty tag) is a text returned by the server.

The skopeo images are re-generated daily ( compare https://quay.io/repository/skopeo/stable?tab=history ), so it’s possible that the mirror / pull-through state got out of sync, maybe removing a per-arch component and not updating the top level yet, or keeping the top level and trying to pull through to an already-removed image, or something like that.

See also https://github.com/containers/image_build/blob/main/README.md about the moving tags.


Note to self: The server seems to be Harbor, compare https://github.com/goharbor/harbor/issues/20764 and https://github.com/containers/image/issues/2203 .

CubexsOne commented 2 months ago

Thanks for the answer, I will try to work on this with the admins of the registry.

mtrmac commented 2 months ago

FWIW, for these changing images, you might want to capture

CubexsOne commented 2 months ago

Hii,

FYI: The image 1.16.1 is working. No one knows why this is working, but I guess its not a problem on your side.

Thanks for helping, have a great time.

mtrmac commented 2 months ago

Thanks for the update.