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

Add validation for releaseImage and mirror

    XMLWordPrintable

Details

    • Moderate
    • 2
    • Agent Sprint 226
    • 1
    • Dev
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A

    Description

      Description of problem:

      openshift-install does not detect releaseImage mismatches between cluster-image-set.yaml and registries.conf

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

      4.12

      How reproducible:

      100%

      Steps to Reproduce:

      1.Create ZTP inputs for image generation where registries.conf does not have any source matching the binary releaseimage (the binary image which can be obtained by running "openshift-install version". You can also set this value in ZTP manifest cluster-image-set.yaml 
      2.run openshift-install agent create image
      

      Actual results:

      Image is generated with no warnings

      Expected results:

      Image is generated with warning message - "The ImageContentSources configuration in install-config.yaml should have at-least one source field matching the releaseImage value %s", releaseImagePath

       

      Additional info:

       

       

      Attachments

        Activity

          People

            ppinjark@redhat.com pawan pinjarkar
            bfournie@redhat.com Robert Fournier
            zhenying niu zhenying niu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: