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

ICSP mirror ordering not preserved when serialized for CPO env vars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.14
    • HyperShift
    • None
    • Critical
    • No
    • Hypershift Sprint 241
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      ICSP (from mgmt cluster) mirror order is not getting preserved when serialized by HyperShift operator for control plane operator deployment, resulting in the ignition server failing to fetch images required for generating the ignition payload. 

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. On mgmt cluster, create 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 HostedCluster on the mgmt cluster
      

      Actual results:

      Nodes cannot join the cluster because the ignition server fails to generate a payload.

      Expected results:

      Nodes can join the cluster

      Additional info:

       

              cewong@redhat.com Cesar Wong
              cewong@redhat.com Cesar Wong
              Jie Zhao Jie Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: