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

Add validation to check imageContentSources registry is listed in the pull-secret

    XMLWordPrintable

Details

    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      In a disconnected install the registries listed in imageContentSources should have corresponding entries in the pull-secrets. If the registry does not exist in the pull-secrets, then the "agent create image" command will fail and the error does not indicate that missing pull-secret credentials is the culprit.
      
      We should add validations to check registries listed in imageContentSources have corresponding entries in pull-secret.    

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

          4.16

      How reproducible:

          Always

      Steps to Reproduce:

          1. Created a disconnected environment with a mirror registry.
          2. Omit the registries credentials from the pull-secret
          3. Create the agent ISO on a server that is disconnected
          

      Actual results:

          Agent installer tries to pull base ISO from public mirror because local mirror is not reachable. Create image command fails because public mirror is also unreachable.

      Expected results:

          Error explaining that the registry is missing in the pull-secrets

      Additional info:

          

      Attachments

        Activity

          People

            beth.white Beth White
            rwsu1@redhat.com Richard Su
            Manoj Hans Manoj Hans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: