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

HostedCluster cannot handle multiple mirrors

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.14.z, 4.15.z, 4.17.z, 4.16.z, 4.18.z, 4.19.0
    • HyperShift
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-53050. The following is the description of the original issue:

      Description of problem:

      HostedCluster cannot handle multiple mirrors。
      According to OCP IDMS, when the current mirror image is unavailable, the system should continue searching for an available mirror image.
      

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

          4.14-4.19

      How reproducible:

          100%

      Steps to Reproduce:

          1. create hostedcluster with 
            imageContentSources:
            - mirrors:
              - registry.ocp-edge-cluster-0.qe.lab.redhat.com:5005/openshift-release-dev/ocp-v4.0-art-dev
              - registry.ocp-edge-cluster-0.qe.lab.redhat.com:5005/ocp/release
              source: quay.io/openshift-release-dev/ocp-v4.0-art-dev
            - mirrors:
              - registry.ocp-edge-cluster-0.qe.lab.redhat.com:5005/openshift-release-dev/ocp-v4.0-art-dev
              - registry.ocp-edge-cluster-0.qe.lab.redhat.com:5005/ocp/release
              source: registry.ci.openshift.org/ocp/release
          2.
          3.
          

      Actual results:

          failed to lookup release image: failed to extract release metadata: 
      failed to obtain root manifest for 
      registry.ocp-edge-cluster-0.qe.lab.redhat.com:5005/openshift-release-dev/ocp-v4.0-art-dev@sha256:1d261c178ac128e85455f370a78f3fea4492cd5c0367888933fe3a5b48c43c84:
       manifest unknown: manifest unknown 

      Expected results:

          

      Additional info:

          https://redhat-internal.slack.com/archives/C058TF9K37Z/p1741616888758719 

              rhn-support-liangli Liangquan Li
              openshift-crt-jira-prow OpenShift Prow Bot
              XiuJuan Wang XiuJuan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: