Bug 1332265

Summary: [RFE] Need more space for /var/www/miq/vmdb/log directory
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: ApplianceAssignee: Joe Vlcek <jvlcek>
Status: CLOSED DUPLICATE QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: abellott, dajohnso, jhardy, nachandr, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: configuration
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-03 22:19:30 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:

Description Nandini Chandra 2016-05-02 17:12:25 UTC
Description of problem:
---------------------
On my 5.6 Beta 2 appliance, evmserverd refused to start.After further investigation, I found that the /var/www/miq/vmdb/log directory was full.
I could finally start evmserverd after deleting some old log files in 
var/www/miq/vmdb/log.

My appliance was managing 50 online VMs and had C&U enabled.The 
/var/www/miq/vmdb/log directory got filled up in 2 days.

Also,/var/www/miq/vmdb/log is in the /var volume which only has 2GB.

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


How reproducible:
-----------------


Steps to Reproduce:
-------------------
1.
2.
3.

Actual results:
---------------


Expected results:
-----------------
Need more space for /var/www/miq/vmdb/log directory.


Additional info:
----------------

Comment 2 Nandini Chandra 2016-05-02 17:42:54 UTC
Here's a link to the github issue that's addressing this problem.

https://github.com/ManageIQ/manageiq/issues/6230

Comment 4 Joe Vlcek 2016-05-03 19:51:45 UTC
Nandini,

Upstream /var/www/miq/vmdb/log is in the /var volume which only has 2GB.

Downstream /var/www/miq/vmdb/log is a mount of a 10g volume:

cfme> df -h | grep vmdb
/dev/mapper/VG--CFME-lv_log  10G   67M   10G   1% /var/www/miq/vmdb/log


I agree we should increase from 2GB to 10GB upstream but there also seems to
be something writing too much to the evm.log. Can you please recreate the
issue and PM me the credentials to your test bed?

Thank you, JoeV

Comment 5 Joe Vlcek 2016-05-03 22:19:30 UTC
I discussed with Nandini. It is the case that we do already have a 10g volume for
/var/www/miq/vmdb/log downstream.

However Nandini had produced the same problem reported in
https://bugzilla.redhat.com/show_bug.cgi?id=1327228

The root cause of which is that something is writing a lot of what is likely
unnecessary logging data to evm.log

So we have decided to close this a duplicate of 
https://bugzilla.redhat.com/show_bug.cgi?id=1327228

*** This bug has been marked as a duplicate of bug 1327228 ***