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

Failed to install cluster when vCenter dns can not be resolved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20.0
    • Installer / vSphere
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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

              rhn-support-ngirard Neil Girard
              wwei@redhat.com Wenxin Wei
              None
              None
              Wenxin Wei Wenxin Wei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: