-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.19, 4.20.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
Done
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
install cluster, the vm type is not match with the region or architecture, have not clear messge
Version-Release number of selected component (if applicable):
4.19
How reproducible:
Always
Steps to Reproduce:
1. the master vm type which is not in the region (in region ca-mon use the default vm type (bx2)) or the vm type which is not match with the architure.
architecture: amd64 platform: ibmcloud: type: bz2-8x32
Actual results:
install failed DEBUG found master address: [] DEBUG found master address: [] DEBUG found master address: [] ERROR Attempted to gather debug logs after installation failure: must provide bootstrap host address ERROR failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to provision control-plane machines within 25m0s: client rate limiter Wait returned an error: context deadline exceeded
Expected results:
get the clear error message, the vm type is not match with the region or the architure
Additional info:
when the worker vm type is not match, hard to find the clear message in install log. $ oc get machines -A NAMESPACE NAME PHASE TYPE REGION ZONE AGE openshift-machine-api maxu-amd-ddj4m-master-0 Running bx3d-4x20 jp-osa jp-osa-1 160m openshift-machine-api maxu-amd-ddj4m-master-1 Running bx3d-4x20 jp-osa jp-osa-2 160m openshift-machine-api maxu-amd-ddj4m-master-2 Running bx3d-4x20 jp-osa jp-osa-3 160m openshift-machine-api maxu-amd-ddj4m-worker-1-l9t7g Provisioning 140m openshift-machine-api maxu-amd-ddj4m-worker-2-2dr5b Provisioning 140m openshift-machine-api maxu-amd-ddj4m-worker-3-g26fj Provisioning 140m when the worker vm type is not in the region: $oc describe machine maxu-amd-977vn-worker-1-hvr7f -n openshift-machine-api Warning FailedCreate 86m ibmcloudcontroller maxu-amd-977vn-worker-1-hvr7f: reconciler failed to Create machine: failed to create instance via ibm vpc client: could not find instance profile: bx2-4x16 when the worker vm type is not match with the architure $oc describe machine maxu-amd-ddj4m-worker-1-l9t7g -n openshift-machine-api Warning FailedCreate 28s (x25 over 130m) ibmcloudcontroller maxu-amd-ddj4m-worker-1-l9t7g: reconciler failed to Create machine: failed to create instance via ibm vpc client: Image OS architecture amd64 is not supported by the instance profile bz2-4x16
- is related to
-
OCPBUGS-39116 [IBMCloud] openshift-installer shall fail when the arch of the vm type mismatch with the architecture property
-
- New
-