-
Bug
-
Resolution: Done-Errata
-
Minor
-
4.15.z
This is a clone of issue OCPBUGS-29469. The following is the description of the original issue:
—
Description of problem:
Hello Team, We have observed weird and uncertain behavior while we execute any of the below commands to proceed for the installation on Azure platform for OCP deployment 4.15.0-rc.5. $ ./openshift-install create install-config --dir=<installation_dir> or $ ./openshift-install create manifests --dir=<installation_dir> or $ ./openshift-install create cluster --dir=<installation_dir> Attempt 1: It fails ~~~ $ ./openshift-install create install-config --dir=. ? SSH Public Key /root/.ssh/id_rsa.pub ? Platform azure INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" ? Region eastus ? Base Domain india.az.cee.support ? Cluster Name ocpdummyocp415 ? Pull Secret [? for help] *******************************************************************************************************************************************************************FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] ~~~ Attempt 2 : It succeeded ~~~ ./openshift-install create install-config --dir=. ? SSH Public Key /root/.ssh/id_rsa.pub ? Platform azure INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" ? Region eastus ? Base Domain india.az.cee.support ? Cluster Name ocpdummyocp415 ? Pull Secret [? for help] *******************************************************************************************************************************************************************INFO Install-Config created in: . ~~~ This is very uncertain even though I have full permission and access of azure and have available disk size in all region/location as well. ~~~ $ az vm list-sizes --location "eastus" | grep -i Standard_D8s_v3 "name": "Standard_D8s_v3", ~~~ Attempt 3 : Fails - Now if we create manifest it fails. ~~~ ./openshift-install create manifests --dir=. INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version, compute[0].platform.azure.type: Invalid value: "Standard_D4s_v3": not found in region eastus] ~~~
Version-Release number of selected component (if applicable):
How reproducible:
Uncertain sometimes it works and sometime it does not.
Steps to Reproduce:
With any of the below commands we are encountering the issue: $ ./openshift-install create install-config --dir=<installation_dir> or $ ./openshift-install create manifests --dir=<installation_dir> or $ ./openshift-install create cluster --dir=<installation_dir> FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version]
Actual results:
Reverse of Expected results: FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version]
Expected results:
It should generate the install-config file or manifest or create cluster.
Additional info:
- links to
-
RHBA-2024:1449 OpenShift Container Platform 4.15.z bug fix update