Bug 1371884

Summary: Dashboard: top utilized - renaming VM causes that multiple records are shown
Product: [oVirt] ovirt-engine-dashboard Reporter: Lucie Leistnerova <lleistne>
Component: GeneralAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bugs, mgoldboi, oourfali, pstehlik, sradco
Target Milestone: ovirt-4.0.5Flags: rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
sradco: devel_ack+
pstehlik: testing_ack+
Target Release: 1.0.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:36:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
top ulitized memory
none
VM list none

Description Lucie Leistnerova 2016-08-31 11:04:45 UTC
Created attachment 1196308 [details]
top ulitized memory

Description of problem:
if I rename VM, in top utilized view is this VM shown twice and clicking on one of them goes to empty VM list
in CPU and Memory too

Version-Release number of selected component (if applicable):
ovirt-engine-dashboard-1.0.3-1.el7ev.x86_64

How reproducible: always


Steps to Reproduce:
1. go to Virtual Machines and rename one of the running ones
2. wait some minutes, until dashboard gets updated
3. go to Dashboard and click on chart in Memory section, there is record for the new name and also for the old one
4. rename it again and the same VM is there shown thrice, see attachment


Actual results: for every name used for one VM, records are shown


Expected results: only one record for every VM and its actual name


Additional info:
the main problem will be, when I rename some VM and create new one with the old name of this one, then the counted values will be for two different VM and that is not right
and also after my opinion is logical to show counted values for one VM no matter what name it had

Comment 1 Lucie Leistnerova 2016-08-31 11:05:07 UTC
Created attachment 1196309 [details]
VM list

Comment 2 Oved Ourfali 2016-08-31 12:01:24 UTC
How is rename handled in DWH?

Comment 3 Shirly Radco 2016-09-04 07:43:21 UTC
(In reply to Oved Ourfali from comment #2)
> How is rename handled in DWH?
Renaming should not cause thus behavior. Only current name should be used.
Probably a bug in the query. Checking.

Comment 4 Lucie Leistnerova 2016-10-27 11:38:05 UTC
no multiple VMs

verified in ovirt-engine-dashboard-1.0.5-1.el7ev.x86_64