Hide Forgot
Description of problem: In RHEV-H 7.2 hypervisors '/var/log/journal' directory grows very big and not cleaned up in a similar way like logrotate does. Version-Release number of selected component (if applicable): rhevm-3.6.8 Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160711.0.el7ev) How reproducible: Steps to Reproduce: 1. Install/ Upgrade to rhevm-3.6.8 2. Install the RHEV-H hypervisor 3. Actual results: '/var/log/journal' directory grows very big Expected results: '/var/log/journal' directory should be cleaned up
Hi Douglas, I have communicated given workaround to the customer and waiting for results. FYI customer used systemctl vaccum command to free the space. // Shivraj
I retest with rhevh-7.2-20160711.0.el7ev, the bug can be reproduced. Steps: 1. Install the RHEV-H hypervisor 2. Register RHEV-H to RHEVM Result: The size of journal files grown up from 16M to 24M after one day So QE can reproduce this bug.
(In reply to weiwang from comment #11) > I retest with rhevh-7.2-20160711.0.el7ev, the bug can be reproduced. > > Steps: > 1. Install the RHEV-H hypervisor > 2. Register RHEV-H to RHEVM > > Result: > The size of journal files grown up from 16M to 24M after one day > > So QE can reproduce this bug. do you have the output of du -sh /var/log ? We have the bz#1380596 which is affecting log rotation of vdsm, might contributing here too. Thanks!
Hi weiwang, This is rfe bug, so can you reproduce this issue on RHVH 40 build as well? Thanks.
(In reply to Douglas Schilling Landgraf from comment #12) > (In reply to weiwang from comment #11) > > I retest with rhevh-7.2-20160711.0.el7ev, the bug can be reproduced. > > > > Steps: > > 1. Install the RHEV-H hypervisor > > 2. Register RHEV-H to RHEVM > > > > Result: > > The size of journal files grown up from 16M to 24M after one day > > > > So QE can reproduce this bug. > > do you have the output of du -sh /var/log ? > We have the bz#1380596 which is affecting log rotation of vdsm, might > contributing here too. > > Thanks! The output of du -sh /var/log today is as below: [root@dhcp-8-149 ~]# du -sh /var/log 40M /var/log
I will give RHVH 40 result later since we need to do test runs recently.
I retest with redhat-virtualization-host-4.0-20161027.1, the bug can be reproduced. Steps: 1. Install the RHEV-H hypervisor 2. Register RHEV-H to RHEVM 3. After half day, check with command: du -sh /var/log Result: The size of journal files grown up from 2.5M to 8.9M
The journal logs are not managed by cron, but rather by journald itself. Configuration can be used to set the desired size or time limits: https://www.freedesktop.org/software/systemd/man/journald.conf.html Is this solution sufficient?
Hi Fabian, I have already communicated this settings to customer and it is sufficient.
Closing accThanks. Closing this bug according to comment 18. NOTABUG, because RHVH behaves just like RHEL.