-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Failed to install cluster when my local host can't resolved vCenter dns.
Version-Release number of selected component (if applicable):
4.20
How reproducible:
always
Steps to Reproduce:
1.make sure your local host can't resolve the vCenter you used 2.openshift-install create manifests --dir . --log-level debug 3. installer hit warning like below: WARNING unable to resolve vSphere server vcenter- 2.devqe.ibmc.devcluster.openshift.com the machines dir didn't create as expect under cluster-api dir. and installation failed.
Actual results:
installation failed
Expected results:
installation successful
Additional info:
even installer vm can't resolve vCenter.the vCenter api always can be reached behind a proxy, it should NOT return directly. The bug should be these code: https://github.com/openshift/installer/blob/main/pkg/asset/machines/clusterapi.go#L371 and this bug should not only on 4.20, need to be back port to all versions after the version that introduced the cluster API