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

Mirroring redhat-operator-index:v4.16 fails with "manifest unknown"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16.z
    • oc-mirror
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Mirroring the redhat-operator-index fails due to "manifest unknown" for certain referenced digests.    

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

      v4.16    

      How reproducible:

      100%    

      Steps to Reproduce:

          1. mirror redhat-operator-index for v4.16
          2.
          3.
          

      Actual results:

      $ cat is.yaml 
      apiVersion: mirror.openshift.io/v1alpha2
      kind: ImageSetConfiguration
      storageConfig:
        registry:
          imageURL: <mirror-registry>/mirror/oc-mirror-metadata                 
          skipTLS: true
      mirror:
        operators:
          - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16
            full: false
      
      oc-mirror --dest-skip-tls --config=is.yaml docker://<mirror-registry> --dry-run
      <...>
      error: unable to retrieve source image registry.redhat.io/openshift4/ose-oauth-proxy manifest sha256:1d8e8addcecab0d3e99d5a9748cd7edf
      fd090ab8944a78597d41da3bd0bb9446: manifest unknown: manifest unknown                                                                 
      error: unable to retrieve source image registry.redhat.io/openshift4/ose-kube-rbac-proxy manifest sha256:514e9e03f1d96046ff819798e54a
      a5672621c15805d61fb6137283f83f57a1e3: manifest unknown: manifest unknown

      Expected results:

      mirroring operation to complete and generate manifests

      Additional info:

      Both digests are referenced by several operators:
      
      $ podman run -it --entrypoint /bin/sh registry.redhat.io/redhat/redhat-operator-index:v4.16
      sh-5.1$ grep -r 514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3 /configs/
      /configs/rhdh/catalog.json:            "image": "registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3"
      /configs/ansible-cloud-addons-operator/catalog.json:            "image": "registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3"
      /configs/ansible-automation-platform-operator/catalog.json:            "image": "registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3"
      /configs/ansible-automation-platform-operator/catalog.json:            "image": "registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3"
      
      sh-5.1$ grep -r 1d8e8addcecab0d3e99d5a9748cd7edffd090ab8944a78597d41da3bd0bb9446 /configs/
      /configs/businessautomation-operator/catalog.json:            "image": "registry.redhat.io/openshift4/ose-oauth-proxy@sha256:1d8e8addcecab0d3e99d5a9748cd7edffd090ab8944a78597d41da3bd0bb9446"
      
      
      For the RHDH operator there is https://issues.redhat.com/browse/RHIDP-4097 open.
      
      For v4.12 missing images is reported in https://issues.redhat.com/browse/CLOUDDST-24399, not sure if this is a duplicate thereof. 

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-bverschu Bram Verschueren
              Jia Fan Jia Fan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: