Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-52682

rhel7 guest agent shows wrong hostname

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • CNV Virt-Cluster
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Moderate
    • None

      Description of problem:

      4.18 lane constantly failing with data mismatch on rhel7.8 and rhel7.9 guest agent tests
      
      (top dict - GA output, bottom - info from guest os) ValueError: Data mismatch!
      Virtctl: {'guestAgentVersion': '2.12.0', 'hostname': 'localhost.localdomain', 'os': {'name': 'Red Hat Enterprise Linux Server', 'kernelRelease': '3.10.0-1127.19.1.el7.x86_64', 'version': '7.8 (Maipo)', 'prettyName': 'Red Hat Enterprise Linux Server 7.8 (Maipo)', 'versionId': '7.8', 'kernelVersion': '#1 SMP Tue Aug 11 19:12:04 EDT 2020', 'machine': 'x86_64', 'id': 'rhel'}, 'timezone': 'EST, -18000'}
      OS: {'guestAgentVersion': '2.12.0', 'hostname': 'rhel-7-8-1733676966-7290413', 'os': {'name': 'Red Hat Enterprise Linux Server', 'kernelRelease': '3.10.0-1127.19.1.el7.x86_64', 'version': '7.8 (Maipo)', 'prettyName': 'Red Hat Enterprise Linux Server 7.8 (Maipo)', 'versionId': '7.8', 'kernelVersion': '#1 SMP Tue Aug 11 19:12:04 EDT 2020', 'machine': 'x86_64', 'id': 'rhel'}, 'timezone': 'EST, -18000'}
      
      guest agent returns - 'hostname': 'localhost.localdomain'

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

      4.18

      How reproducible:

      100%

      Steps to Reproduce:

      1.create and start rhel7.8/9 vm from common template
      2.wait for OS to boot and GA to start reporting data
      3.check vmi describe GA section 

      Actual results:

      'hostname': 'localhost.localdomain'

      Expected results:

      'hostname': 'rhel-7-8-1733676966-7290413'

      Additional info:

      All other tested rhel versions are passing on this one (rhel8.x, rhel9.x)

              kbidarka@redhat.com Kedar Bidarkar
              vsibirsk Vasiliy Sibirskiy
              Sibo Wang Sibo Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: