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

Node Joiner: Update code to retrieve ICSP instead of ICP for mirror registry

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      In the case of adding a worker node on day 2 in a disconnected environment, we need to update the code to retrieve ImageContentSourcePolicy (ICSP) instead of ImageContentPolicies (ICP). Currently, after updating ICSP, the user is not able to get the updated mirror registry information, they always get what is present in the install-config (cluster-config-v1). This causes inconsistencies when mirror registries are updated post-installation. 

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

      4.19

      How reproducible:

      Always   

      Actual results:

      The mirror registry information retrieved was the one set during cluster installation.

      Expected results:

      The updated mirror registry information from ICSP should be fetched.

      Additional info:

      The operator.openshift.io/v1alpha1 should be used in place of config.openshift.io/v1.
      https://github.com/openshift/installer/blob/c805b240dc45c054ff83d57ae945772feef90ea4/pkg/asset/agent/joiner/clusterinfo.go#L433

              rhn-support-mhans Manoj Hans
              rhn-support-mhans Manoj Hans
              None
              None
              Manoj Hans Manoj Hans
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: