Bug 1940494 - provide better information for windows guest-agent mark
Summary: provide better information for windows guest-agent mark
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.4.1.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Liran Rotenberg
QA Contact: Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-18 14:52 UTC by Liran Rotenberg
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.5?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 117408 0 master MERGED core: change tools warning to agent 2021-11-02 14:45:06 UTC

Description Liran Rotenberg 2021-03-18 14:52:07 UTC
When we check the guest-agent for windows VM, we set a mark for it. Currently it reports a general message about the tools, we need to change it for guest-agent only as this is what it does in 4.4 using the virtio-win.

As part of this change, it will be nice to report in the logs what is the mismatched versions, to let the user know why he sees this mark.

Comment 5 Tamir 2022-04-19 12:14:54 UTC
Verified on RHV 4.5.0-6.

Env:
    - Engine instance with RHV 4.5.0-6 (ovirt-engine-4.5.0.2-0.7.el8ev) and RHEL 8.6 installed.
    - 3 hosts with RHV 4.5.0-6 and RHEL 8.6 and with vdsm-4.50.0.12-1.el8ev.

Steps:

In Admin Portal:
1. Create a 4.7 data center and a 4.7 cluster.
2. Install the hosts and create a new NFS storage domain.
3. Import an ISO domain with the latest virtio-win, an older version of virtio-win, and Windows 10 iso attached to the CD drive.
4. Create a VM with the Windows 10 iso attached, a NIC, and a 30GB SATA disk.
5. Install Windows 10.
6. Shut down the VM.
7. Replace the ISO in the CD drive with the older version of virtio-win.
8. Run the VM.
9. Install the older version of virtio-win (virtio-win-1.9.22.iso, QEMU Guest Agent 102.7.0).
10. Shut down the VM from Windows.
11. Run the VM.
12. Open the Edit VM modal and close it using the cancel button.
13. Check that the engine log contains the message:
        Newer version of guest agent is available 102.10.0 for VM '{VM_NAME}' ({VM_ID}) having 102.7.0
    and the "New guest agent is available" warning near the VM in the virtual machines tab.
14. Remove the virtio-guest-tools from the VM.
15. Shut down the VM.
16. Replace the ISO in the CD drive with the newest version of virtio-win (virtio-win-1.9.24.iso, QEMU Guest Agent 102.10.0)
17. Run the VM.
18. Install the newest version of virtio-win (virtio-win-1.9.24.iso, QEMU Guest Agent 102.10.0).
19. Restart the VM.
20. Open the Edit VM modal and close it using the cancel button.
21. Check that the engine log doesn't contain any new logs related to a new version of the guest agent and the warning icon near the VM is removed.

Results (As Expected):
1. The 4.7 data center and the 4.7 cluster were created.
2. The hosts were installed and the NFS storage domain was created.
3. The ISO domain was imported.
4. The VM was created.
5. Windows 10 was installed.
6. The VM is down.
7. The disk has been replaced with the older virtio-win iso.
8. The VM is running.
9. The older version was installed.
10. The VM is down.
11. The VM is running.
12. The VM had a warning icon next to it.
13. The message "New guest agent is available" appeared when hovering the warning icon and the engine log contains the message:
        Newer version of guest agent is available 102.10.0 for VM '{VM_NAME}' ({VM_ID}) having 102.7.0
14. The virtio-guest-tools were removed.
15. The VM is down.
16. The disk has been replaced with the newer virtio-win iso.
17. The VM is running.
18. The newest version of virtio-win is installed.
19. The VM was restarted and is up again.
20. The VM doesn't have a warning icon next to it.
21. There isn't a new log message regarding the guest tools version.

Comment 6 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

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


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