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

OPENSHIFT_IMG_OVERRIDES is not retaining the mirroring order from ICSP/IDMS

    XMLWordPrintable

Details

    • No
    • Hypershift Sprint 241
    • 1
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      The environment variable OPENSHIFT_IMG_OVERRIDES is not retaining the order of mirrors listed under a source compared to the original mirror/source listing in the ICSP/IDMSs.

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

       

      How reproducible:

      Every time

      Steps to Reproduce:

      1. Setup a mgmt cluster with either an ICSP like:
      
        apiVersion: operator.openshift.io/v1alpha1
        kind: ImageContentSourcePolicy
        metadata:
          name: image-policy-39
        spec:
          repositoryDigestMirrors:
          - mirrors:
            - quay.io/openshift-release-dev/ocp-release
            - pull.q1w2.quay.rhcloud.com/openshift-release-dev/ocp-release
            source: quay.io/openshift-release-dev/ocp-release
      
      2. Create a Hosted Cluster

      Actual results:

      Nodes cannot join the cluster because ignition cannot be generated

      Expected results:

      Nodes can join the cluster

      Additional info:

      Issue is most likely coming from here - https://github.com/openshift/hypershift/blob/dce6f51355317173be6bc525edfe059572c07690/support/util/util.go#L224

      Attachments

        Activity

          People

            cewong@redhat.com Cesar Wong
            rh-ee-brcox Bryan Cox
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: