Bug 1535859

Summary: Webadmin- Events & alerts notifications clear all events -> USER_CLEAR_ALL_AUDIT_LOG' is not translated in 'bundles/AuditLogMessages'
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: Frontend.WebAdminAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: low    
Version: 4.2.1.1CC: bugs, gshereme, lsvaty, lveyde, michal.skrivanek, mperina
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 10:55:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log + print screen none

Description Avihai 2018-01-18 07:51:26 UTC
Created attachment 1382760 [details]
engine log + print screen

Description of problem:
Webadmin -> Events ->  Events & alerts notifications -> Events -> clear all 

Error message appears at engine log & in UI ( see print screen)

2018-01-18 09:42:26,452+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.MessageBundler] (default task-8) [1a3585f9-60ac-4938-bb26-20d34ac391a2] Key 'USER_CLEAR_ALL_AUDIT_LOG' is not translated in 'bundles/AuditLogMessages'
2018-01-18 09:42:26,453+02 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-8) [1a3585f9-60ac-4938-bb26-20d34ac391a2] Unable to create AuditLog


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

How reproducible:
100% so far

Steps to Reproduce:
1.Webadmin -> Events ->  Events & alerts notifications -> Events -> clear all 


Actual results:
Error message appears at engine log & in UI ( see print screen)

2018-01-18 09:42:26,452+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.MessageBundler] (default task-8) [1a3585f9-60ac-4938-bb26-20d34ac391a2] Key 'USER_CLEAR_ALL_AUDIT_LOG' is not translated in 'bundles/AuditLogMessages'
2018-01-18 09:42:26,453+02 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-8) [1a3585f9-60ac-4938-bb26-20d34ac391a2] Unable to create AuditLog


Expected results:


Additional info:

Comment 1 Greg Sheremeta 2018-01-19 15:46:46 UTC
Looks like the complaining class is ClearAllAuditLogAlertsCommand.java or ClearAllAuditLogEventsCommand.java

Since it's a backend bundle, moving to infra. I think Ravi is most familiar with this

Comment 2 Pavel Novotny 2018-02-20 14:35:47 UTC
Verified in
ovirt-engine-4.2.2-0.1.el7.noarch
ovirt-engine-webadmin-portal-4.2.2-0.1.el7.noarch

No exception occurs in browser or ui.log after clicking 'Clear All' for Events in the Notification Drawer. Alerts / Clear All is also OK.

Comment 3 Sandro Bonazzola 2018-03-29 10:55:00 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.