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

Disconnected cluster installation fails with pull secret must contain auth for "registry.ci.openshift.org"

XMLWordPrintable

    • None
    • Agent Sprint 227
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A

      This is a clone of issue OCPBUGS-2513. The following is the description of the original issue:

      Description of problem:

      Agent based installation is failing for Disconnected env due to pull secret is required for registry.ci.openshift.org. As we are installing cluster in disconnected env, only mirror registry secrets should be enough for pulling the image.

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

      registry.ci.openshift.org/ocp/release:4.12.0-0.nightly-2022-10-18-041406

      How reproducible:

      Always

      Steps to Reproduce:

      1. Setup mirror registry with this registry.ci.openshift.org/ocp/release:4.12.0-0.nightly-2022-10-18-041406 release. 
      2. Add the ICSP information in the install-config file
      4. Create agent.iso using install-config.yaml and agent-config.yaml
      5. ssh to the node zero to see the error in create-cluster-and-infraenv.service. 
      

      Actual results:

      create-cluster-and-infraenv.service is failing with below error:
       
      time="2022-10-18T09:36:13Z" level=fatal msg="Failed to register cluster with assisted-service: AssistedServiceError Code: 400 Href:  ID: 400 Kind: Error Reason: pull secret for new cluster is invalid: pull secret must contain auth for \"registry.ci.openshift.org\""

      Expected results:

      create-cluster-and-infraenv.service should be successfully started.

      Additional info:

      Refer this similar bug https://bugzilla.redhat.com/show_bug.cgi?id=1990659

              bfournie@redhat.com Robert Fournier
              openshift-crt-jira-prow OpenShift Prow Bot
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: