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

vsphere-hostname should check that /etc/hostname is not empty

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-4656. The following is the description of the original issue:

      Description of problem:

      `/etc/hostname` may exist, but be empty. `vsphere-hostname` service should check that the file is not empty instead of just that it exists.
      
      OKD's machine-os-content starting from F37 has an empty /etc/hostname file, which breaks joining workers in vsphere IPI
      
      

      Version-Release number of selected component (if applicable):

      
      

      How reproducible:

      Always
      
      

      Steps to Reproduce:

      1. Install OKD w/ workers on vsphere
      2.
      3.
      

      Actual results:

      
      Workers get hostname resolved using NM
      
      

      Expected results:

      
      Workers get hostname resolved using vmtoolsd
      
      

      Additional info:

      
      

              vrutkovs@redhat.com Vadim Rutkovsky
              openshift-crt-jira-prow OpenShift Prow Bot
              Rio Liu Rio Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: