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

[azure] Fail to provision bootstrap node with vm size in family standardEIBDSv5Family and standardEIBSv5Family

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      Already added to Known Issues
      -------
      Specifying a standard Ebdsv5 or Ebsv5 family machine type instance is not supported when installing an Azure cluster. This limitation is the result of the Azure terraform provider not supporting these machine types. (link:https://issues.redhat.com/browse/OCPBUGS-18690[*OCPBUGS-18690*])
      Show
      Already added to Known Issues ------- Specifying a standard Ebdsv5 or Ebsv5 family machine type instance is not supported when installing an Azure cluster. This limitation is the result of the Azure terraform provider not supporting these machine types. (link: https://issues.redhat.com/browse/OCPBUGS-18690 [* OCPBUGS-18690 *])
    • Known Issue
    • Done

      Description of problem:

      In install-config.yaml, set controlplane type to size in vm family standardEIBDSv5Family and standardEIBSv5Family, get below error from installer when creating cluster
      ----------------------------
      09-07 17:55:57.613  level=error msg=Error: creating Linux Virtual Machine: (Name "jima-test-wlgrr-bootstrap" / Resource Group "jima-test-wlgrr-rg"): compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="The VM size 'Standard_E112ibs_v5' cannot boot with OS image or disk. Please check that disk controller types supported by the OS image or disk is one of the supported disk controller types for the VM size 'Standard_E112ibs_v5'. Please query sku api at https://aka.ms/azure-compute-skus  to determine supported disk controller types for the VM size." Target="vmSize"
      
      Checked that both vm families only support diskControllerTypes NVMe
            {
              "name": "DiskControllerTypes",
              "value": "NVMe"
            },
      
      From https://github.com/hashicorp/terraform-provider-azurerm/issues/22058, seems that it does not support to set disk controller types.
      
      Suggest to add validation for those family as what is done in https://github.com/openshift/installer/pull/6733
      
      

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

      4.14 nightly build

      How reproducible:

      always

      Steps to Reproduce:

      1. prepare install-config, set vm size in family standardEIBDSv5Family and standardEIBSv5Family for controlplane
      2. create cluster
      3.
      

      Actual results:

      Installer failed with error

      Expected results:

      Installer should have pre-check for those unsupported instance types and exit with error message

      Additional info:

       

              rdossant Rafael Fonseca dos Santos
              jinyunma Jinyun Ma
              Jinyun Ma Jinyun Ma
              Mike Pytlak Mike Pytlak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: