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

VSphere problem detector cannot find VMs due to character case sensitivity

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.18.z
    • Installer / vSphere
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      If the user during cluster installation define the "zone" or "region" under "failureDomains" as a lowercase the VSphere Problem Detector will complain with the below error:

       E0321 08:13:35.950622 1 log.go:15] failed to run checks: [failed to find VM for node example-worker-0: unable to determine vcenter for node example-worker-0

      This happens in this IF in the code. Its because this IF does not return true due to character case Sensitivity and never set a value to the "server" variable. Version-Release number of selected component (if applicable):

       v4.18 but probably previous versions should be affected 

      How reproducible:

       Install a cluster with either region or zone under failureDomains with lowercase characters in the install-config.yaml

      Actual results:

       The VSphere problem detector complains with "failed to find VM for node example-worker-0: unable to determine vcenter for node example-worker-0"

      Expected results:

       The VSphere problem detector should not complain.

              jcallen@redhat.com Joseph Callen
              rhn-support-nstamate Nikolaos Stamatelopoulos
              Shang Gao Shang Gao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: