Hide Forgot
Description of problem: Check the build version of qemu-ga-win in windows guest, Found the build version were checked from guest is not same with qga command 'guest-info'. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. boot up windows guest. 2. check qga program build version in guest via following two methods: (1). click 'control panel' --> 'Program' --> 'Program and features' --> click 'QEMU guest agent' and check the bottom you can see the "RedHat product version 102.0.0" (2) open cmd and run command "wmic product where Name="QEMU guest agent" get Version | findstr /v Version", the result is 102.0.0 3.connect guest on host to send qga command "guest-info" [root@dell-per440-01 qemu-ga-win]# nc -U /tmp/avocado_w_eopcls/serial-org.qemu.guest_agent.0-20210702-055050-jUUACj8M {"execute":"guest-info"} {"return": {"version": "102.0.1" ....}} And I also tried other 102.0.0 above build of qemu-ga-win, all of them have this issue. Actual results: Expected results: Additional info:
The reason why I set a regression tag because I tried to use an original build of qga rpm 'qemu-ga-win-101.2.0-1.el7ev.noarch.rpm' but there is no that issue. so set a regression flag.
Recently I hit another issue that the qga upgrade operation needs uninstall the previous version of qga ahead. but the original design doesn't need to uninstall the old one, just upgrade the latest qga directly. After confirmation with Yan, this issue seems to be caused by this one, so update this info here as a tracker: upgrade between minor versions is now broken.
Reproduce this issue with mingw-qemu-ga-win-102.5.0-0.el8 Steps to Reproduce: 1. boot up windows guest. 2. check qga program build version in guest via the following two methods: (1). click 'control panel' --> 'Program' --> 'Program and features' --> click 'QEMU guest agent' and check the bottom you can see the "RedHat product version 102.0.0" (2) open cmd and run command "wmic product where Name="QEMU guest agent" get Version | findstr /v Version", the result is 102.0.0 3.connect guest on the host to send qga command "guest-info" [root@dell-per440-01 qemu-ga-win]# nc -U /tmp/avocado_w_eopcls/serial-org.qemu.guest_agent.0-20210702-055050-jUUACj8M {"execute":"guest-info"} {"return": {"version": "102.5.1" ....}} Verify this issue with mingw-qemu-ga-win-102.6.0-0.el8 Steps to verify as above Actual result: host: {"execute":"guest-info"} {"return": {"version": "102.6.0" on guest: 102.6.0 Expected result: qga build version are the same between guest and host.
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 (virtio-win bug fix and enhancement update), 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-2021:4341