Bug 1972070
| Summary: | Add Windows Server 2022 version support for mingw-qemu-ga | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | dehanmeng <demeng> | |
| Component: | virtio-win | Assignee: | Yvugenfi <yvugenfi> | |
| virtio-win sub component: | virtio-win-prewhql | QA Contact: | dehanmeng <demeng> | |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | jinzhao, juzhang, lijin, mdean, qizhu, yvugenfi | |
| Version: | 9.0 | Keywords: | Triaged | |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
|
| Target Release: | 9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1998845 (view as bug list) | Environment: | ||
| Last Closed: | 2022-11-15 06:47:44 UTC | Type: | Feature Request | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1992643 | |||
| Bug Blocks: | 1998845 | |||
Hi all,
Verify it with the latest version of qemu-ga mingw-qemu-ga-win-102.5.0-0.el8
1. bootup win2022 guest.
2. send qga command to check the version of windows:
[root@dell-per440-12 1934492]# nc -U /tmp/avocado_q5dckrpu/serial-org.qemu.guest_agent.0-20210621-001149-sbtfzkAa
{"execute":"guest-get-osinfo"}
{"return": {"name": "Microsoft Windows", "kernel-release": "20344", "version": "Microsoft Windows Server 2022", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "2022", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}}
Actual result:
return the correct windows version that is "Microsoft Windows Server 2022"
Expected result:
as above.
This issue is gone, thanks for your effort Yan.
Thanks
Dehan Meng
*** Bug 1998845 has been marked as a duplicate of this bug. *** Hit this issue again on win2022 with version mingw-qemu-ga-win-102.7.0-0.el8
Steps to Reproduce:
1.bootup win2022 guest
2.send qga command
{"execute": "guest-get-osinfo"}
{"return": {"name": "Microsoft Windows", "kernel-release": "20348", "version": "N/A", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "N/A", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}}
Actual results:
"version": "N/A"
Expected results:
version should be "2022"
(In reply to dehanmeng from comment #4) > Hit this issue again on win2022 with version mingw-qemu-ga-win-102.7.0-0.el8 > > Steps to Reproduce: > 1.bootup win2022 guest > 2.send qga command > {"execute": "guest-get-osinfo"} > {"return": {"name": "Microsoft Windows", "kernel-release": "20348", > "version": "N/A", "variant": "server", "pretty-name": "Windows Server 2022 > Datacenter", "version-id": "N/A", "variant-id": "server", "kernel-version": > "10.0", "machine": "x86_64", "id": "mswindows"}} > > Actual results: > "version": "N/A" > > Expected results: > version should be "2022" Is this is newer release of Windows Server 2022? (In reply to Yvugenfi from comment #8) > (In reply to dehanmeng from comment #4) > > Hit this issue again on win2022 with version mingw-qemu-ga-win-102.7.0-0.el8 > > > > Steps to Reproduce: > > 1.bootup win2022 guest > > 2.send qga command > > {"execute": "guest-get-osinfo"} > > {"return": {"name": "Microsoft Windows", "kernel-release": "20348", > > "version": "N/A", "variant": "server", "pretty-name": "Windows Server 2022 > > Datacenter", "version-id": "N/A", "variant-id": "server", "kernel-version": > > "10.0", "machine": "x86_64", "id": "mswindows"}} > > > > Actual results: > > "version": "N/A" > > > > Expected results: > > version should be "2022" > > Is this is newer release of Windows Server 2022? yes, as you said, that's a newer release of Win2022 Updated the ITR=9.0.0 since bug moved to RHEL9, removed ZTR, DTM, and ITM values as well as the Fixed in Version value. If there needs to be a RHEL8 specific bug, then clone to RHEL8 presently, I tested qga with mingw-qemu-ga-win-102.8.0-0.el8_5,
win-server 2022 can be return in output from command guest-get-osinfo
[root@dell-per730-56 ~]# nc -U /tmp/avocado_ueferioi/serial-org.qemu.guest_agent.0-20211223-121136-55o4p0NQ
{"execute": "guest-get-osinfo"}
{"return": {"name": "Microsoft Windows", "kernel-release": "20348", "version": "Microsoft Windows Server 2022", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "2022", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}}
so whether this issue has been fixed already ? and Shall we move the status to ON_QA then? if I miss anything and got wrong judgment, please point me out,appreciate it.
Nothing changed from https://bugzilla.redhat.com/show_bug.cgi?id=2029674 and it is the same mingw-qemu-ga-win-102.8.0-0.el8_5 How does Avocado execute qemu-ga? Is it a service? The bug in BZ#2029674 appears depending on the location of the executed qemu-ga. (In reply to Yvugenfi from comment #19) > Nothing changed from https://bugzilla.redhat.com/show_bug.cgi?id=2029674 and > it is the same mingw-qemu-ga-win-102.8.0-0.el8_5 > > How does Avocado execute qemu-ga? Is it a service? > not exactly, avocado just install the qemu-ga.msi and the Qemu guest agent run as default. It doesn't run in cmd like "C:\program Files \Qemu-ga>qemu-ga.exe". > The bug in BZ#2029674 appears depending on the location of the executed > qemu-ga. Hi Yan,
For now, this issue isn't hit any more with the latest version of qemu-ga mingw-qemu-ga-win-102.10.0-0.el8_5, the output of command "guest-get-osinfo" as following:
{"execute": "guest-get-osinfo"}
{"return": {"name": "Microsoft Windows", "kernel-release": "20348", "version": "Microsoft Windows Server 2022", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "2022", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}}
as we can see that the "version"/"version-id" fields are corresponding the correct content, and this situation are the same when I run qemu-ga via two methods. so what's your opinion on it?
Thanks
Dehan Meng
(In reply to dehanmeng from comment #21) > Hi Yan, > For now, this issue isn't hit any more with the latest version of qemu-ga > mingw-qemu-ga-win-102.10.0-0.el8_5, the output of command "guest-get-osinfo" > as following: > > {"execute": "guest-get-osinfo"} > {"return": {"name": "Microsoft Windows", "kernel-release": "20348", > "version": "Microsoft Windows Server 2022", "variant": "server", > "pretty-name": "Windows Server 2022 Datacenter", "version-id": "2022", > "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": > "mswindows"}} > > as we can see that the "version"/"version-id" fields are corresponding the > correct content, and this situation are the same when I run qemu-ga via two > methods. so what's your opinion on it? > > Thanks > Dehan Meng Hi Dehan, This bug is for RHEL9. As RHEL 9 is released from Centos stream, we should keep this bug. Best regards, Yan. Removing its block to bz 1968312 per comment 22. because of the latest mingw-qemu-ga-win mingw-qemu-ga-win-103.0.0-1.el9_0 has been approved to add into RHEL9/centos stream. and this issue had been fixed earlier and test result as following:
2022-03-19 06:28:50: {"execute": "guest-get-osinfo"}
2022-03-19 06:28:50: {"return": {"name": "Microsoft Windows", "kernel-release": "20348", "version": "Microsoft Windows Server 2022", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "2022", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}}
so move this bug to VERIFIED.
|
Description of problem: test qga on guest win2022-64 for getting osinfo, but the version of guest is different between guest and qga Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.bootup win2022 guest 2.send qga command {"execute": "guest-get-osinfo"} {"return": {"name": "Microsoft Windows", "kernel-release": "20344", "version": "N/A", "variant": "server", "pretty-name": "Windows Server 2022 Datacenter", "version-id": "N/A", "variant-id": "server", "kernel-version": "10.0", "machine": "x86_64", "id": "mswindows"}} Actual results: "version": "N/A" Expected results: version should be "2022" Additional info: