Bug 1332101

Summary: Hovering above an exclamation mark next to windows guest shows "New guest tools are available" even after upgrading guest tools to latest version.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ameya Charekar <achareka>
Component: ovirt-engineAssignee: Shahar Havivi <shavivi>
Status: CLOSED ERRATA QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.5CC: amarchuk, bgraveno, eedri, fdeutsch, fjayalat, gklein, jbelka, lsurette, mgoldboi, michal.skrivanek, rbalakri, redhat-bugzilla, Rhev-m-bugs, robert.scheck, sherold, srevivo, tjelinek, vpagar, ykaul
Target Milestone: ovirt-4.0.0-rc3   
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously an exclamation mark appeared next to Windows guests showing "New guest tools are available" even after upgrading guest tools to latest version. This works correctly now, and after upgrading the tools the warning disappears.
Story Points: ---
Clone Of:
: 1348106 (view as bug list) Environment:
Last Closed: 2016-08-23 20:38:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1348106    

Description Ameya Charekar 2016-05-02 08:41:25 UTC
Description of problem:

Wrong message is displayed when hovering above an exclamation mark next to windows guest saying "New guest tools are available" although latest RHEV-Tools 3.6.5 are installed in guest.

Version-Release number of selected component (if applicable):

rhevm-3.6.5.3-0.1.el6.noarch
rhev-guest-tools-iso-3.6-5.el6ev.noarch

How reproducible:

Always when updating guest tools from previous version to latest.

Steps to Reproduce:
1. Upgrade guest agent to latest version on rhev manager.
2. Exclamation mark with message "New guest tools are available" appears once latest ISO is available in ISO domain.
3. But after upgrading guest tools within guest same message appears.

Actual results:

Once guest tools are upgraded to latest version in guest and the message should disappear.

Expected results:

The message should disappear after updating guest tools.

Additional info:

Fresh installation of windows guest does not show this message. After reboot or shutdown/start of guest issue persist as once guest in UP state same message appears. Removing and installing guest tools did not help.

Comment 1 Robert Scheck 2016-05-02 11:44:56 UTC
Ameya, thanks for reproducing our issue and filing this ticket related to
our case 01620961 on the Red Hat customer portal. In case any information
from our environment are needed (even this is reproducible in yours) let us
know, please.

Comment 2 Tomas Jelinek 2016-05-03 07:54:19 UTC
The problem seems to be in VmHandler.refreshVmsToolsVersion() which sets the GuestAgentStatus.UpdateNeeded if needed but never clears it.

Comment 4 Jiri Belka 2016-05-03 13:48:17 UTC
I can confirm that updates of notification are broken, they don't respect updated version of WGT inside VMs.

Comment 5 Michal Skrivanek 2016-05-05 09:10:11 UTC
this will become an issue once bug 1332204 is released, which is expected soon

Comment 9 Michal Skrivanek 2016-05-11 05:26:35 UTC
*** Bug 1334968 has been marked as a duplicate of this bug. ***

Comment 10 sefi litmanovich 2016-06-13 15:01:14 UTC
Verified with rhevm-3.6.7.2-0.1.el6.noarch according to description.
HOST: vdsm-4.17.30-1.el7ev.noarch

1. Had both RHEV-toolsSetup_3.6_5.iso and RHEV-toolsSetup_3.6_6.iso in iso domain.
2. Installed windows 8, then installed RHEV-toolsSetup_3.6_5.iso. 
3. after reboot and timeout got the exclamation mark as expected.
4. Upgrade to RHEV-toolsSetup_3.6_6.iso.
5. after reboot and timeout the exclamation mark disappeared as expected.

Comment 11 Eyal Edri 2016-06-19 12:56:13 UTC
please clone bug to 3.6, it still has both 3.6 + 4.0 flags.

Comment 12 Michal Skrivanek 2016-06-21 06:32:52 UTC
(In reply to Eyal Edri from comment #11)
> please clone bug to 3.6, it still has both 3.6 + 4.0 flags.

Why was it not reported in the whine at all, for a month? Does it run for ON_QA bugs too?

Comment 13 Eyal Edri 2016-06-21 06:57:04 UTC
It was sent via ACK police every week and ignored.
I don't manage the whines.

Comment 14 Tomas Jelinek 2016-06-22 13:52:49 UTC
This has been verified on 3.6 so moving this 4.0 version back to ON_QA

Comment 15 sefi litmanovich 2016-06-23 13:45:22 UTC
ENGINE: Verified with rhevm-4.0.0.6-0.1.el7ev.noarch.
HOST: vdsm-4.18.999-118.git7fdfaee.el7.centos.x86_64

1. Had both RHEV-toolsSetup_4.0_1.iso and RHEV-toolsSetup_4.0_2.iso in iso domain.
2. Installed windows 8, then installed RHEV-toolsSetup_4.0_1.iso. 
3. after reboot and timeout got the exclamation mark as expected.
4. Upgrade to RHEV-toolsSetup_4.0_2.iso.
5. after reboot and timeout the exclamation mark disappeared as expected.

Comment 17 errata-xmlrpc 2016-08-23 20:38:15 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://rhn.redhat.com/errata/RHEA-2016-1743.html