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

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

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None

    Description

      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:

      
      

      Attachments

        Issue Links

          Activity

            People

              vrutkovs@redhat.com Vadim Rutkovsky
              vrutkovs@redhat.com Vadim Rutkovsky
              Rio Liu Rio Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: