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

Let oc client to use ICSPExplicitStrategy instead of ICSPOnErrorStrategy during node addition in a disconnected Environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z
    • oc / node-image
    • Quality / Stability / Reliability
    • False
    • Hide

      None

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

      Description of problem:

      In case of agent-based OpenShift cluster in a disconnected environment, using `oc adm node-image create` approach to generate discovery ISO for node addition, the oc client always tries to contact quay first instead of using the mirror/internal registry as reference because of the nature that oc uses ICSPOnErrorStrategy.
      
      For environments with strict firewall restrictions where the outside connectivity is completely forbidden, due to this policy, even though the node-joiner pod runs and takes all the reference from ICSP/IDMS of the cluster, a connection failure to quay.io just hangs the process instead of falling back to mirror registry. 

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

      4.18.23

      How reproducible:

      OpenShift agent-based cluster in a disconnected environment     

      Actual results:

      The node-joiner process hangs and ISO couldn't be generated    

      Expected results:

      The oc client should be able to create the ISO with all the references from the ICSP/IDMS    

      Additional info:

          

              bfournie@redhat.com Robert Fournier
              rhn-support-prmagotr Prayag Magotra
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: