Bug 1443699

Summary: [RFE] Number of Events loaded in the UI Notifications should be limited
Product: Red Hat CloudForms Management Engine Reporter: Jerome Marc <jmarc>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: hkataria, jhardy, mhradil, mpovolny, obarenbo, tachoi
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
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-06-10 19:57:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Jerome Marc 2017-04-19 18:35:40 UTC
Description of problem:
In a large environment, the number of events in the UI Notifications of CloudForms keeps increasing (2000+ is normal in the MBU lab). There does not seem to be a max number of events loaded and presented in the UI. This causes latency in loading up the CloudForms UI when the number of events is high.

Workaround is to manually clean the list up. This is a pain. I suggest loading a certain number of events and offer a --more-- link to load the rest.

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

How reproducible:
Always

Steps to Reproduce:
1. Perform tasks causing events to load in the CloudForms UI notification

Actual results:
UI experiences latencies when the number of events is large in the UI notifications.

Expected results:
UI should remain the same despite the large amount of events.

Additional info:

Comment 2 Jerome Marc 2017-06-06 21:49:26 UTC
I recently was experiencing UI latency in CF4.5. I deleted the notifications with the following command and everything became responsive again.

vmdb_production=# delete from notifications;
DELETE 5824

There seems to be an issue in the way notifications are loaded/handled?

Comment 4 tachoi 2017-06-09 02:53:15 UTC
I think this is not just RFE as it is impacting production availability when notifications numbers get high. In large customer env, it will be just short amount of time to cause UI loading issue by nature.

One of our customer deployed workaround suggested in comment#2 and their business is back but urgently seeking for fix this issue as this is not just good to have feature request.