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

Installer should have pre-check for capability MachineAPI when installing IPI without it

XMLWordPrintable

    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      Starting with 4.14, MachineAPI is marked as an optional capability. For common IPI clusters (not SNO and not compact), the installation will fail if the "MachineAPI" capability is disabled in install-config.yaml. The bug fix adds a pre-check in openshift-install to display an error message indicating that MachineAPI is disabled and should be enabled for common IPI clusters.
      Show
      Starting with 4.14, MachineAPI is marked as an optional capability. For common IPI clusters (not SNO and not compact), the installation will fail if the "MachineAPI" capability is disabled in install-config.yaml. The bug fix adds a pre-check in openshift-install to display an error message indicating that MachineAPI is disabled and should be enabled for common IPI clusters.
    • Bug Fix

      Description of problem:

      On 4.14, 'MachineAPI' is marked as optional capability which will disable two operators machine-api and cluster-autoscaler.
      
      epic link: https://issues.redhat.com/browse/CNF-6318
      
      And operator machine-api is required for common IPI (no SNO and no compact) cluster, so if disabling "MachineAPI" in install-config.yaml, common IPI cluster will be installed failed.
      
      Suggest to have pre-check on installer side for common IPI (no SNO and no compact) when running "openshift-installer create cluster". If MachineAPI is disabled, installer should exit with corresponding messages.

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

      4.14.0-0.nightly-2023-06-30-131338

      How reproducible:

      Always

      Steps to Reproduce:

      1. Prepare install-config.yaml and set baselineCapabilitySet as None, make sure that compute node number is greater than 0.
      2. Run command "openshift-install create cluster" to install common IPI
      3.
      

      Actual results:

      Installation failed since missing machine-api operator

      Expected results:

      Installer should have pre-check for this scenario and exit with error message if MachineAPI is disabled

      Additional info:

       

            rwsu1@redhat.com Richard Su
            jinyunma Jinyun Ma
            Jinyun Ma Jinyun Ma
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: