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

When releaseImage is a digest the create image command generates spurious warning

XMLWordPrintable

    • No
    • Agent Sprint 232, Agent Sprint 233
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, when running the `openshift-install agent create image` command while using a releaseImage that contained a digest, the command produced the following warning message: `WARNING The ImageContentSources configuration in install-config.yaml should have at-least one source field matching the releaseImage`. This message was produced every time, regardless of how `ImageContentSources` was configured, which might have caused user confusion over the false message.
      With this update, the warning message is only produced when `ImageContentSources` is legitimately not set to have at least one source field matching the release image. (link:https://issues.redhat.com/browse/OCPBUGS-10207[*OCPBUGS-10207*])
      Show
      Previously, when running the `openshift-install agent create image` command while using a releaseImage that contained a digest, the command produced the following warning message: `WARNING The ImageContentSources configuration in install-config.yaml should have at-least one source field matching the releaseImage`. This message was produced every time, regardless of how `ImageContentSources` was configured, which might have caused user confusion over the false message. With this update, the warning message is only produced when `ImageContentSources` is legitimately not set to have at least one source field matching the release image. (link: https://issues.redhat.com/browse/OCPBUGS-10207 [* OCPBUGS-10207 *])
    • Bug Fix
    • Done

      Description of problem:

      When the releaseImage is a digest, for example quay.io/openshift-release-dev/ocp-release@sha256:bbf1f27e5942a2f7a0f298606029d10600ba0462a09ab654f006ce14d314cb2c, a spurious warning is putput when running
      openshift-install agent create image
      
      Its not calculating the releaseImage properly (see the '@sha' suffix below) so it causes this spurious message
      WARNING The ImageContentSources configuration in install-config.yaml should have at-least one source field matching the releaseImage value quay.io/openshift-release-dev/ocp-release@sha256 
      
      This can cause confusion for users.
      
      

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

      4.13

      How reproducible:

      Every time when using a release image with a digest is used

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              bfournie@redhat.com Robert Fournier
              bfournie@redhat.com Robert Fournier
              Biagio Manzari Biagio Manzari
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: