Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-70467

rhel7 guest agent shows wrong hostname ( in CNV )

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.4.z
    • qemu-kvm / Guest Agent
    • None
    • No
    • None
    • rhel-virt-core
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      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'

      What is the impact of this issue to you?

       guest agent returns - 'hostname': 'localhost.localdomain'

       

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Always

      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

      Expected results

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

      Actual results

      'hostname': 'localhost.localdomain'

              virt-maint virt-maint
              kbidarka@redhat.com Kedar Bidarkar
              Kedar Bidarkar
              virt-maint virt-maint
              Meng Dehan Meng Dehan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: