Bug 1356267 - CFME 4.1 appliance fail to perform logrotate for /vmdb/log and postgresql pg_log directory log files
Summary: CFME 4.1 appliance fail to perform logrotate for /vmdb/log and postgresql pg_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: GA
: 5.7.0
Assignee: Joe Vlcek
QA Contact: luke couzens
URL:
Whiteboard: appliance
Depends On:
Blocks: 1356705 1358384
TreeView+ depends on / blocked
 
Reported: 2016-07-13 20:44 UTC by Thomas Hennessy
Modified: 2017-01-12 04:49 UTC (History)
10 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1356705 1358384 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:15:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Hennessy 2016-07-13 20:44:29 UTC
Description of problem: log rotate is not being performed for the postgresql and CFME log files


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


How reproducible:


Steps to Reproduce:
1. startup the appliance
2. connect to a provider
3. wait > 24 hours to see that no logrotate files have been generated

Actual results:
postgresql.log, evm.log and all other *.log files in the /var/www/miq/vmdb/log directory continue to grow without any logrotate segments being generated.

Expected results:
logrotate files to begenerated for each of the files indicated above as well as other *.log files in the /var/www/vmdb/log directory

Additional info:
testing appliance that has been active > two weeks with all reports being executed every four hours is available to examine at address 10.10.181.236 with ssh credentials root/smartvm

Comment 2 Josh Carter 2016-07-13 20:59:08 UTC
I have confirmed this is reproducable on a migrated appliance from 5.5 to 5.6 
The logs stopped rotating after the migration was performed.

Comment 8 luke couzens 2016-10-07 09:16:51 UTC
Verified in 5.7.0.3


Note You need to log in before you can comment on or make changes to this bug.