Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-35311

Listing tags in JFrog Artifactory may fail - Podman OCP 4.16

XMLWordPrintable

    • Moderate
    • No
    • 3
    • False
    • Hide

      None

      Show
      None

      From https://github.com/containers/skopeo/issues/2346

      with fix in c/image: https://github.com/containers/image/pull/2440

      Hello team,

      I want to notify I have encountered en error on skopeo v1.15.1 with multiarch images on JFrog Artifactory.

      JFrog Artifactory is an artifact management tool that can be behaved as container image registry. However, for multiarch images, it violates some behaviors related to tags.

      For example,

        1. once pushed an multiarch image multi-arch:v1.0.0, which refers sha256:aaaa...aaaa as a amd64, and sha256:bbbb...bbbb as a arm64, to Artifactory,

        2. Artifactory expose sha256:aaaa...aaaa and sha256:bbbb...bbbb as tags, not only multi-arch:v1.0.0,

        3. and sha256:aaaa...aaaa and sha256:bbbb...bbbb are OCI incompliant tags because they contains :,

      So finally we got error on skopeo inspect with time="2024-06-03T09:26:46Z" level=fatal msg="Error determining repository tags: registry returned invalid tag \"sha256:aaaa...aaaa": invalid tag format".

      This is quite heavy impact issue even if the Artifactory violates OCI specifications, we can no longer use skopeo v1.15.1 or later with Artifactory.

      Can you consider that skopeo simply ignores the invalid tags to keep compatibility?

      And we will also contact to JFrog support to improve the behavior above.

              rhn-support-jnovy Jindrich Novy
              tsweeney@redhat.com Tom Sweeney
              David Darrah David Darrah (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: