Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 838292

Summary: [rhevm-dwh] - logrotate - DWH Log is not log-rotating correctly
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-dwhAssignee: Yaniv Lavi <ylavi>
Status: CLOSED CURRENTRELEASE QA Contact: David Botzer <dbotzer>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, iheim, pstehlik, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: SI11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:58:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logrotateSize none

Description David Botzer 2012-07-08 10:22:04 UTC
Description of problem:
The ETL Log file (ovirt-engine-dwhd.log) gets larger and larger (currently 30MB and growing)

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

How reproducible:
always

Steps to Reproduce:
1.install rhevm 3.1/si8 + DWH
2.run rhevm-setup + ovirt-engine-dwh-setup
3.Configure entities in Webadmin
4.Check the ETL Log file (ovirt-engine-dwhd.log) in /var/log/ovirt-engine
  
Actual results:
File is too big

Expected results:
Should keep an appropiate file size (approx 1-2 MB)

Additional info:
See log attached

Comment 1 David Botzer 2012-07-08 10:22:26 UTC
Created attachment 596866 [details]
logrotateSize

Comment 2 Yaniv Kaul 2012-07-15 12:01:24 UTC
It should rotate every 10MB, just like engine.

Comment 3 Yaniv Lavi 2012-07-16 09:46:24 UTC
Fixed in patch:
http://gerrit.ovirt.org/#/c/6319/


Yaniv

Comment 4 David Botzer 2012-08-07 11:53:03 UTC
Fixed, 3.1/si13.1
dwh log file is rotating at 11M once a day
ovirt-engine-dwhd.log
Fixed, 3.1/si13.1