Bug 859398

Summary: 3.0.z - audit_log table is not cleaned properly, causing rhevm database to grow excessively
Product: Red Hat Enterprise Virtualization Manager Reporter: Chris Pelland <cpelland>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.0.7CC: acathrow, chetan, dyasny, emesika, hateya, iheim, jwest, lpeer, mkalinin, oramraz, pablo.iranzo, Rhev-m-bugs, sgordon, tvvcox, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Regression, ZStream
Target Release: 3.0.8   
Hardware: All   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the DeleteAuditLogOlderThanDate command only removed audit logs when the "processed=TRUE" condition was set, causing the database to grow excessively. With this update, "processed=TRUE" is no longer a condition to remove logs. DeleteAuditLogOlderThanDate now removes logs on the periodic time it is configured to do so, which is 30 days by default.
Story Points: ---
Clone Of: 856009 Environment:
Last Closed: 2012-11-27 12:23:11 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:
Bug Depends On: 856009    
Bug Blocks:    

Comment 2 Eli Mesika 2012-10-09 10:15:08 UTC
fixed in commit : fb24ffb

Comment 6 errata-xmlrpc 2012-11-27 12:23:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-1496.html