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

missing pre-check for capabilities marketplace and OLM when setting basleineCapaiblitySet: v4.x (x<15)

XMLWordPrintable

    • Moderate
    • No
    • 3
    • OCPEDGE Sprint 255
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      Setting capabilities as below in install-config:
      --------
      capabilities:
        baselineCapabilitySet: v4.14
        additionalEnabledCapabilities:
          - CloudCredential 
      
      Continue to create manifests, installer should exit with error message that "the marketplace capability requires the OperatorLifecycleManager capability", as what is done in https://github.com/openshift/installer/pull/7495/.
      In that PR, seems that only check when baselineCapabilitySet is set to None.
      
      When baselineCapabilitySet is set to v4.x, it also includes capability "marketplace", and needs to do such pre-check.

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

          4.15/4.16

      How reproducible:

          Always

      Steps to Reproduce:

          1. Prepare install-config and set baselineCapabilitySet to v4.x (x<15)
          2. Create manifests
          3.
          

      Actual results:

          Manifests are created successfully.

      Expected results:

          Installer exited with error message that something like "the marketplace capability requires the OperatorLifecycleManager capability"

      Additional info:

          

            ehila@redhat.com Egli Hila
            jinyunma Jinyun Ma
            Jinyun Ma Jinyun Ma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: