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

"opm alpha render-veneer semver" raise error when no "Candidate" in config yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.12
    • 4.12
    • OLM
    • None
    • [OLM-224] FBC/PSA - Pikachu
    • 1
    • False
    • Hide

      None

      Show
      None
    • NA
    • Done

      Description of problem:

      "opm alpha render-veneer semver" raise error when no "Candidate" in config yaml

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

      zhaoxia@xzha-mac semver % opm version
      Version: version.Version{OpmVersion:"11644a543", GitCommit:"11644a5433442c33698d2eee8d3f865b0d9386c0", BuildDate:"2022-08-29T08:16:54Z", GoOs:"darwin", GoArch:"amd64"}

      How reproducible:

      always

      Steps to Reproduce:

      1. prepare catalog-semver-veneer-wrong.yaml 
      zhaoxia@xzha-mac semver % cat catalog-semver-veneer-wrong.yaml 
      Schema: olm.semver
      GenerateMajorChannels: false
      GenerateMinorChannels: true
      Stable:
        Bundles:
        - Image: quay.io/olmqe/nginxolm-operator-bundle:v1.0.2
        - Image: quay.io/olmqe/nginxolm-operator-bundle:v2.1.0
      Fast:
        Bundles:
        - Image: quay.io/olmqe/nginxolm-operator-bundle:v0.0.1
        - Image: quay.io/olmqe/nginxolm-operator-bundle:v2.0.1
        - Image: quay.io/olmqe/nginxolm-operator-bundle:v2.1.0 
      
      2. run "opm alpha render-veneer semver"
      zhaoxia@xzha-mac semver % opm alpha render-veneer semver catalog-semver-veneer-wrong.yaml
      2022/08/29 16:48:56 semver "catalog-semver-veneer-wrong.yaml": semver-render: no bundles specified or no bundles could be rendered
      
      3.
      

      Actual results:

      error "no bundles specified or no bundles could be rendered" is raised.

      Expected results:

      no error

      Additional info:

       

              rh-ee-jkeister Jordan Keister
              rhn-support-xzha Xia Zhao
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: