Bug 1525968 - [GUI] - each event in host Events list appears 10 times.
Summary: [GUI] - each event in host Events list appears 10 times.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.1
: 4.2.1
Assignee: Ravi Nori
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-14 14:06 UTC by Kobi Hakimi
Modified: 2018-02-12 11:55 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-12 11:55:44 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
Same host event 10 times (168.99 KB, image/png)
2017-12-14 14:06 UTC, Kobi Hakimi
no flags Details
works for me (87.31 KB, image/png)
2017-12-14 15:27 UTC, Greg Sheremeta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85590 0 master MERGED core : Each event in host Events list appears 10 times. 2017-12-20 13:54:57 UTC

Description Kobi Hakimi 2017-12-14 14:06:32 UTC
Created attachment 1368007 [details]
Same host event 10 times

Description of problem:
[GUI] - each event in host Events list appears 10 times.

Version-Release number of selected component (if applicable):
Software Version:4.2.0.2-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Open the Hosts page and move host to maintenance/activate.
2. Open the Events tab.

Actual results:
You can see the same line 10 times.

Expected results:
One line per event

Additional info:
see attached snapshot

Comment 1 Greg Sheremeta 2017-12-14 15:27:08 UTC
Works for me on latest ovirt master (git 4265064)

Was this a fresh install or an upgrade?

Comment 2 Greg Sheremeta 2017-12-14 15:27:34 UTC
Created attachment 1368054 [details]
works for me

Comment 3 Kobi Hakimi 2017-12-14 22:21:04 UTC
(In reply to Greg Sheremeta from comment #1)
> Works for me on latest ovirt master (git 4265064)
> 
> Was this a fresh install or an upgrade?

It was on a fresh installation of latest rhv 4.2.0-11 
if you want you can take a look at the engine:
https://hosted-engine-02.scl.lab.tlv.redhat.com/ovirt-engine

the same issue appears in other qe env:
https://jenkins-vm-03.qa.lab.tlv.redhat.com

Comment 4 Oved Ourfali 2017-12-15 13:28:45 UTC
What happens when querying for host events in the API?
Other objects?

Comment 5 Greg Sheremeta 2017-12-15 13:36:20 UTC
>>> events = api.events.list(query='host=host_mixed_1')
>>> for e in events:
...     print(e.get_description())
... 
Status of host host_mixed_1 was set to Up.
VDSM host_mixed_1 command HSMGetAllTasksStatusesVDS failed: Recovering from crash or Initializing
VDSM host_mixed_1 command SpmStatusVDS failed: Recovering from crash or Initializing


Seems fine in the database. It could be a UI problem, or a problem with the query we use.

Comment 6 Yaniv Kaul 2017-12-17 11:53:24 UTC
severity?

Comment 7 Kobi Hakimi 2017-12-17 12:06:06 UTC
(In reply to Yaniv Kaul from comment #6)
> severity?
It looks bad:
medium-high

Comment 8 Oved Ourfali 2017-12-19 06:48:58 UTC
Alexander, can you take a look?

Comment 9 Alexander Wels 2017-12-19 14:05:16 UTC
So I looked into this, and the problem is in the backend. The result set on the backend contains multiple copies of the same row. The UI doesn't do anything but display the data.

Comment 10 Lucie Leistnerova 2018-01-15 16:29:29 UTC
Adding host to maintenance shows only one event, other actions also. So it seems ok in my environment. Feel free to reopen if it happens again.

verified in ovirt-engine-webadmin-portal-4.2.1.1-0.1.el7.noarch

Comment 11 Sandro Bonazzola 2018-02-12 11:55:44 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 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.