Bug 1553126 - Automatic network sync floods webadmin's Notification Drawer with events
Summary: Automatic network sync floods webadmin's Notification Drawer with events
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.2.1.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.2
: ---
Assignee: Dominik Holler
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-08 11:13 UTC by Dominik Holler
Modified: 2018-03-29 10:54 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.2.2.4
Doc Type: Bug Fix
Doc Text:
Cause: Every execution of the automatic network synchronization reports the result to audit log. Consequence: Even if no new network is imported or an external network provider is not configured correctly, new events are added to the webadmin's Notification Drawer and the audit log every time the sync is triggered, which is every 5 minutes by default. Fix: Failed execution of the automatic network synchronization are reported only once a day, if the synchronization detects nothing to sync, nothing is reported. Result: If no new network is imported or removed no new events are added to the webadmin's Notification Drawer and the audit log. If the synchronization fails, only once a day an event is reported.
Clone Of:
Environment:
Last Closed: 2018-03-29 10:54:27 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 88383 0 master MERGED core: Reduce rate of log events during sync 2018-03-13 06:16:52 UTC
oVirt gerrit 88865 0 ovirt-engine-4.2 MERGED core: Reduce rate of log events during sync 2018-03-13 09:41:05 UTC
oVirt gerrit 88866 0 ovirt-engine-4.2 MERGED core: Report if sync performed changes 2018-03-13 09:41:10 UTC
oVirt gerrit 88870 0 ovirt-engine-4.2 MERGED core: Disable logging for InternalImportExternalNetworkCommand 2018-03-14 08:54:43 UTC

Description Dominik Holler 2018-03-08 11:13:00 UTC
Description of problem:
Even if no new network is imported or an external network provider is not configured correctly, new events are added to the webadmin's Notification Drawer and the audit log every time the sync is triggered, which is every 5 minutes by default.


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


How reproducible:


Steps to Reproduce:
1. Enable the default ovirt-provider-ovn during engine-setup
2.
3.

Actual results:
The event "Networks of Provider ovirt-provider-ovn were successfully synchronized." is added every five minutes to webadmin's Notification Drawer.

Expected results:
If no new external network is imported or the external network provider is not configured correctly the event is added only a single time per hour.

Additional info:

Comment 1 Mor 2018-03-18 14:13:51 UTC
Verified on:
RHV 4.2.2.4-0.1.el7

Comment 2 Sandro Bonazzola 2018-03-29 10:54:27 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

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