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

the manifest type *ocischema.DeserializedImageIndex is not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.15.0
    • 4.15.0
    • oc
    • None
    • Critical
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None
    • NA

      Description of problem:

      It's blocking the Prow CI test: https://github.com/openshift/release/pull/42822#issuecomment-1760704535 

      [cloud-user@preserve-olm-env2 jian]$ oc image extract registry.ci.openshift.org/ocp/4.15:cli  --path /usr/bin/oc:. --confirm
      [cloud-user@preserve-olm-env2 jian]$ sudo chmod 777 oc
      [cloud-user@preserve-olm-env2 jian]$ 
      [cloud-user@preserve-olm-env2 jian]$ ./oc version 
      Client Version: v4.2.0-alpha.0-2030-g0307852
      Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
      [cloud-user@preserve-olm-env2 jian]$ ./oc image mirror --insecure=true --skip-missing=true --skip-verification=true --keep-manifest-list=true --filter-by-os='.*' quay.io/openshifttest/ociimage:multiarch localhost:5000/olmqe/ociimage3:multiarch
      localhost:5000/
        olmqe/ociimage3
          error: the manifest type *ocischema.DeserializedImageIndex is not supported
          manifests:
            sha256:d58e3e003ddec723dd14f72164beaa609d24c5e5e366579e23bc8b34b9a58324 -> multiarch
        stats: shared=0 unique=0 size=0B
      
      error: the manifest type *ocischema.DeserializedImageIndex is not supported
      error: an error occurred during planning

      Version-Release number of selected component (if applicable):

      The master branch of https://github.com/openshift/oc : https://github.com/openshift/oc/commit/03078525c97d612c2070081d0e9f322f946360f4 

      [cloud-user@preserve-olm-env2 jian]$ podman inspect  registry.ci.openshift.org/ocp/4.15:cli 
      [
           {
                "Id": "feac27a180964dff0a0ff0a9fcdb593fcf87a7d80177e6c79ab804fb8477f55b",
                "Digest": "sha256:8fcc83d3c72c66867c38456a217298239d99626d96012dbece5c669e3ad5952c",
                "RepoTags": [
                     "registry.ci.openshift.org/ocp/4.15:cli"
                ],
                "RepoDigests": [
                     "registry.ci.openshift.org/ocp/4.15@sha256:8fcc83d3c72c66867c38456a217298239d99626d96012dbece5c669e3ad5952c",
                     "registry.ci.openshift.org/ocp/4.15@sha256:cf4f54e2f20af19afe3c5c0685aa95ab3296d177204b01a3d8bfddf7c3d45f49"
                ],
      ...
                          "summary": "Provides the latest release of the Red Hat Extended Life Base Image.",
                          "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-base/images/v4.15.0-202310111407.p0.g16dbf5e.assembly.stream",
                          "vcs-ref": "03078525c97d612c2070081d0e9f322f946360f4",
                          "vcs-type": "git",
                          "vcs-url": "https://github.com/openshift/oc",
                          "vendor": "Red Hat, Inc.",
                          "version": "v4.15.0"
      ...
                          "created": "2023-10-12T23:06:08.279786979Z",
                          "created_by": "/bin/sh -c #(nop) LABEL \"io.openshift.build.name\"=\"cli-amd64\" \"io.openshift.build.namespace\"=\"ci-op-37527gwf\" \"io.openshift.build.commit.author\"=\"\" \"io.openshift.build.commit.date\"=\"\" \"io.openshift.build.commit.id\"=\"03078525c97d612c2070081d0e9f322f946360f4\" \"io.openshift.build.commit.message\"=\"\" \"io.openshift.build.commit.ref\"=\"master\" \"io.openshift.build.name\"=\"\" \"io.openshift.build.namespace\"=\"\" \"io.openshift.build.source-context-dir\"=\"\" \"io.openshift.build.source-location\"=\"https://github.com/openshift/oc\" \"io.openshift.ci.from.base\"=\"sha256:d7a2588527405101eeb1578a0e97e465ec83b0b927b71cf689703554e81cb585\" \"vcs-ref\"=\"03078525c97d612c2070081d0e9f322f946360f4\" \"vcs-type\"=\"git\" \"vcs-url\"=\"https://github.com/openshift/oc\"",

      How reproducible:

      always

      Steps to Reproduce:

       

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

      4.15.0-0.nightly-2023-10-09-101435(the `oc` commits 1bbfec243e5910a5a86df985489700c3d3137aed) works well. 

      [cloud-user@preserve-olm-env2 client]$ ./oc version 
      Client Version: 4.15.0-0.nightly-2023-10-09-101435
      Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
      
      [cloud-user@preserve-olm-env2 client]$ ./oc image mirror --insecure=true --skip-missing=true --skip-verification=true --keep-manifest-list=true --filter-by-os='.*' quay.io/openshifttest/ociimage:multiarch localhost:5000/olmqe/ociimage2:multiarch2
      localhost:5000/
        olmqe/ociimage2
      ...
      sha256:d58e3e003ddec723dd14f72164beaa609d24c5e5e366579e23bc8b34b9a58324 localhost:5000/olmqe/ociimage2:multiarch2
      info: Mirroring completed in 2.47s (72.87MB/s)
      
      [cloud-user@preserve-olm-env2 oc]$ oc adm release info registry.ci.openshift.org/ocp/release:4.15.0-0.nightly-2023-10-09-101435 --commits |grep oc 
      Pull From: registry.ci.openshift.org/ocp/release@sha256:b5d1f88597d49d0e34ed4acfe3149817d02774d4c0661cbcb0c04896d1a852c6
      ...
        tools                                          https://github.com/openshift/oc                                             1bbfec243e5910a5a86df985489700c3d3137aed

              aguclu@redhat.com Arda Guclu
              rhn-support-jiazha Jian Zhang
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: