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

OPM FBC Generation from semver template does not support y-stream upgrades for platform aligned operators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.14, 4.16, 4.17, 4.18, 4.19, 4.20, 4.21
    • OLM
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • None
    • Rejected
    • Rhydon Sprint 278
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      OPM render-template utilizing semver templates say in the docs they will generate the replaces statements for y-stream upgrades when generating minor channels. We noticed during development of the LVM Operator FBC, OPM does not generate y-stream upgrade paths for OLM to process when generating minor versions such as is done with platform aligned operator versioning.

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

      Tested on OPM 1.59.0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Use a semver template that generate minor channels and has multiple y-stream versions in it
          2. run 'opm alpha render-template semver...'
          3. Notice how no "replaces" statements or skip ranges are set in the resulting catalog
          

      Actual results:

          

      Expected results:

      Skip ranges set on the latest version OR replaces statements set on the latest version.

      Additional info:

      Slack thread with more info can be found at     https://redhat-internal.slack.com/archives/C074JM28DTP/p1760108321048469

              rh-ee-jkeister Jordan Keister
              rh-ee-jeroche Jeff Roche
              None
              None
              Xia Zhao Xia Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: