Bug 1371884 - Dashboard: top utilized - renaming VM causes that multiple records are shown
Summary: Dashboard: top utilized - renaming VM causes that multiple records are shown
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dashboard
Classification: oVirt
Component: General
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.0.5
: 1.0.5
Assignee: Shirly Radco
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 11:04 UTC by Lucie Leistnerova
Modified: 2017-01-18 07:36 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:36:43 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
sradco: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)
top ulitized memory (28.38 KB, image/png)
2016-08-31 11:04 UTC, Lucie Leistnerova
no flags Details
VM list (13.00 KB, image/png)
2016-08-31 11:05 UTC, Lucie Leistnerova
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 63335 0 master MERGED updated dashboard vm queries 2016-09-06 20:54:48 UTC
oVirt gerrit 63456 0 ovirt-engine-4.0 MERGED updated dashboard vm queries 2016-09-06 21:02:55 UTC
oVirt gerrit 63458 0 ovirt-engine-4.0.4 MERGED updated dashboard vm queries 2016-09-06 21:04:04 UTC

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


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