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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.21.0
    • 4.18, 4.19, 4.20, 4.21.0
    • oc / node-image
    • None
    • 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 ImageContentPolicy (ICP). Currently, oc create node image points to ICP, and in this case it always returns a empty value.

      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/oc/blob/a5a3311445295c0a5df77181d379fb77664640da/pkg/cli/admin/nodeimage/basenodeimagecommand.go#L454

              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: