Bug 1656346 - Get wrong "os-version" for win2019 guest via RHEV Agent
Summary: Get wrong "os-version" for win2019 guest via RHEV Agent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-guest-agent
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.3
: 4.3.0
Assignee: Tomáš Golembiovský
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On: 1655503 1684227
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-05 10:04 UTC by xiagao
Modified: 2019-05-08 12:39 UTC (History)
11 users (show)

Fixed In Version: 1.0.16
Doc Type: If docs needed, set a value
Doc Text:
The Red Hat Virtualization Agent did not report the correct OS version for a Windows2019 guest. In this release, a Windows 2019 guest is reported correctly.
Clone Of:
Environment:
Last Closed: 2019-05-08 12:39:48 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:1099 0 None None None 2019-05-08 12:39:55 UTC
oVirt gerrit 97736 0 master MERGED guestagent: add support for Windows 2019 2020-12-04 09:14:51 UTC

Description xiagao 2018-12-05 10:04:36 UTC
Description of problem:
as $summary.

Version-Release number of selected component (if applicable):
rhv-guest-tools-iso-4.3-3
qemu-kvm-3.0.0-2.module+el8+2208+e41b12e0.x86_64
kernel: 4.18.0-40.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Start win2019 guest w/ virtio-serial-pci,virtio-serial-port via qemu command line
cli,...-device virtio-serial-pci,id=virtio-serial0,max_ports=511 -chardev socket,id=channel0,path=/tmp/tt,server,nowait -device virtserialport,chardev=channel0,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port0

2.install rhv-guest-tools-iso-4.3-3 in guest and checked "ovit-Agent" service is started

3.On the host ,open the listenning port
    #nc -U /tmp/tt

Actual results:
Os version is  "Win 2016" which is not correct.

The detailed output.
{"__name__": "session-startup"}
{"__name__": "host-name", "name": "WIN-SIR37JHA5CM"}
{"__name__": "os-version", "version": "Win 2016"}
{"__name__": "network-interfaces", "interfaces": [{"inet6": ["2620:52:0:4948:8524:cd37:68e8:8c73", "fe80::8524:cd37:68e8:8c73"], "hw": "00:52:3b:36:86:09", "inet": ["10.73.74.139"], "name": "Red Hat VirtIO Ethernet Adapter"}]}
{"__name__": "active-user", "name": "Administrator@WIN-SIR37JHA5CM"}
{"applications": ["Python 2.7 pywin32-216", "Python 2.7.1", "RHEV-Agent64 4.3.1", "WinSCP 4.3.4"], "__name__": "applications"}
{"__name__": "fqdn", "fqdn": "WIN-SIR37JHA5CM.lab.eng.pek2.redhat.com"}
{"__name__": "heartbeat", "memory-stat": {"swap_out": 0, "majflt": 0, "swap_usage": 51200, "mem_cached": 0, "mem_free": "1990052", "mem_buffers": 0, "swap_in": 0, "swap_total": 1310720, "pageflt": 11, "mem_total": "3145192", "mem_unused": "1990052"}, "free-ram": "1943", "apiVersion": 0}
{"__name__": "heartbeat", "memory-stat": {"swap_out": 0, "majflt": 0, "swap_usage": 51200, "mem_cached": 0, "mem_free": "1948800", "mem_buffers": 0, "swap_in": 0, "swap_total": 1310720, "pageflt": 0, "mem_total": "3145192", "mem_unused": "1948800"}, "free-ram": "1903", "apiVersion": 3}

Expected results:
Os version is  "Win 2019"

Additional info:

Comment 2 Michal Skrivanek 2018-12-12 09:59:59 UTC
we don't support Win2019 yet

Comment 3 Ryan Barry 2019-01-21 14:54:25 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 6 Petr Matyáš 2019-03-07 08:31:30 UTC
This is not verifiable without new version of WGT iso.

When are you planing on releasing it?

Comment 7 Tomáš Golembiovský 2019-03-07 09:27:39 UTC
WGT Bug 1684227 has target milestone 4.3.2. Sandro?

Comment 9 Petr Matyáš 2019-03-26 14:34:18 UTC
Verified on rhv-guest-tools-iso-4.3-6.el7ev.noarch

vdsm-client getStats:
        "guestOs": "Win 2019",
        "guestOsInfo": {
            "kernel": "",
            "type": "windows",
            "version": "10.0",
            "distribution": "",
            "arch": "x86_64",
            "codename": "Win 2019"
        },

UI:
Operating System:
Microsoft Windows 2019 Server (10.0)

Comment 16 errata-xmlrpc 2019-05-08 12:39:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:1099


Note You need to log in before you can comment on or make changes to this bug.