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

OCP 4.19 : PinnedImageLists : unnecessary validation check to ensure that the image is using a sha format.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.19.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Describe your problem. Include specific actions and error messages. : 

      For the new PinnedImageLists, there is a validation check to ensure that the image is using a sha format.

      https://github.com/openshift/api/blob/master/machineconfiguration/v1alpha1/types_pinnedimageset.go#L76

      This is an unnecessary restriction for the feature that seems to only be enforced because of the intended use of this feature. Being that this is a public API for people to define their own images to be pinned, this should not be restricted to only images referenced by sha.

      https://github.com/openshift/enhancements/pull/1481#issuecomment-1758286953

      Because of this unnecessary validation the feature is entirely unusable to us.

      Describe the impact to you or the business :

      This will render the entire feature of disconnected upgrades described by

      https://issues.redhat.com/browse/OCPSTRAT-763

      unusable. And we will have to implement our own replica of this capability.

              team-mco Team MCO
              rhn-support-nchoudhu Novonil Choudhuri
              None
              None
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: