Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 948299

Summary: vdsm still reports guestIPs even after rhevm-guest-agent uninstallation
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: vdsmAssignee: Frantisek Kobzik <fkobzik>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, asegundo, bazulay, danken, iheim, jkt, lpeer, michal.skrivanek, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-24 10:46:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log, vdsm.log, ovirt-guest-agent.log none

Description Jiri Belka 2013-04-04 14:21:44 UTC
Created attachment 731615 [details]
engine.log, vdsm.log, ovirt-guest-agent.log

Description of problem:

After rhevm-guest-agent uninstallation there's still visible guestIP in Admin Portal for specific VM. vdsm still reports the IP, event the appsList is cleared after agent uninstallation, same as disk. Thus this means a user _can_ see invalid data (IP). I suppose the IP guestIPs should be cleared as other data types.

Version-Release number of selected component (if applicable):
sf12
rhevm-guest-agent-1.0.7-3.el5.noarch
rhevm-guest-agent-common-1.0.7-5.el6ev.noarch
vdsm-4.10.2-12.0.el6ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. install agent
2. check Admin Portal for VM's guestIPs/check vdsClient -s 0 getVmStats $UUID for guestIPs
3. uninstall agent
4. wait a while and when appList is empty (vdsClient, or in Admin Portal), check again as in step 2.
  
Actual results:
vdsm does not clear guestIPs

Expected results:
should behave like appList, diskUsage etc... If vdsm does not know reality inside OS, then do not provide teoretically used IP

Additional info:
for normal user this can be confusing, as this user can suppose that displayed IP for a VM in Admin Portal means there's agent installed (and running).

Comment 1 Michal Skrivanek 2013-05-02 13:30:04 UTC
I'd rather not fix it as it would stop you from being able to open RDP after Guest Agent is stopped.
Any suggestion how to make it less confusing?

Comment 2 Jiri Belka 2013-05-02 14:02:13 UTC
See ykaul's comment about IP and RDP - https://bugzilla.redhat.com/show_bug.cgi?id=888774#c1

Comment 3 Michal Skrivanek 2013-07-11 04:54:16 UTC
I'd only remove that once we have a clear selection in Display Options dialog for RDP to pick whether one want to use IP supplied by Guest Agent, or FQDN (first patch for that was just merged), VM name, or a custom IP

Comment 4 Itamar Heim 2013-12-08 07:46:53 UTC
michal - any bug tracking the item in your comment 3?

Comment 5 Michal Skrivanek 2013-12-08 15:49:08 UTC
I'd like to keep this one for tracking that. Th UI is still not there

Comment 7 Michal Skrivanek 2014-03-24 10:46:03 UTC
will address as part of solution of bug 1014523

*** This bug has been marked as a duplicate of bug 1014523 ***