Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2364

The hostname is inconsistent with /etc/hostname setting in guest after migration on MTV

XMLWordPrintable

      Description of problem:

      The hostname is inconsistent with /etc/hostname setting in guest after migration on MTV

      Version-Release number of selected component (if applicable):
      MTV 2.8.0
      OCP 4.17.22

      How reproducible:
      100%

      Steps to Reproduce:

      1. Prepare a rhel guest on VMware, the hostname set in /etc/hostname is localhost.localdomain

      2.Migrate the guest from VMware on MTV, found the hostname is changed to auto-esx8 which is inconsistent with  /etc/hostname setting 

       

      Actual results:

      As above description

      Expected results:

      Fix the bug

      Additional info:
      Can't reproduce the bug after converting the guest to rhel by virt-v2v

       

        1. guest-on-mtv.png
          223 kB
          Ming Xie
        2. guest-on-mtv-fixed.png
          291 kB
          Ameen Barakat
        3. guest-on-rhel.png
          38 kB
          Ming Xie
        4. guest-on-vmware.png
          127 kB
          Ming Xie

              rh-ee-ehazan Elad Hazan
              mxie@redhat.com Ming Xie
              Ameen Barakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: