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

[Nutanix CAPI install] IPI install with capi failed to set bootType

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-33570. The following is the description of the original issue:

      Description of problem:

      Install OCP with capi, when setting bootType: "UEFI", got unsupported value error. Installing with terrform did not met this issue.  

        platform:
          nutanix:
            bootType: "UEFI" 
      # ./openshift-install create cluster --dir cluster --log-level debug
      ...
      ERROR failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to create control-plane manifest: NutanixMachine.infrastructure.cluster.x-k8s.io "sgao-nutanix-zonal-jwp6d-bootstrap" is invalid: spec.bootType: Unsupported value: "UEFI": supported values: "legacy", "uefi" 

      Set bootType: "uefi" also won't work

      # ./openshift-install create manifests --dir cluster
      ...
      FATAL failed to fetch Master Machines: failed to generate asset "Master Machines": failed to create master machine objects: platform.nutanix.bootType: Invalid value: "uefi": valid bootType: "", "Legacy", "UEFI", "SecureBoot". 

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

          4.16.0-0.nightly-2024-05-08-222442

      How reproducible:

          always

      Steps to Reproduce:

          1.Create install config with bootType: "UEFI" and enable capi by setting:
      featureSet: CustomNoUpgrade
      featureGates:
      - ClusterAPIInstall=true
      
          2.Install cluster
          

      Actual results:

          Install failed

      Expected results:

          Install passed

      Additional info:

          

            yanhli@redhat.com Yanhua Li
            openshift-crt-jira-prow OpenShift Prow Bot
            Gaoyun Pei Gaoyun Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: