-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.14
-
None
-
Moderate
-
No
-
False
-
-
-
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: