Bug 1153417
Summary: | [RFE] Add automation parameter for logrotate Interval | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | wanghui <huiwa> |
Component: | ovirt-node | Assignee: | Douglas Schilling Landgraf <dougsland> |
Status: | CLOSED ERRATA | QA Contact: | wanghui <huiwa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.5.0 | CC: | cshao, dfediuck, fdeutsch, gklein, iheim, lbopf, leiwang, lsurette, yaniwang, ycui, ykaul, ylavi |
Target Milestone: | ovirt-3.6.0-rc | Keywords: | FutureFeature |
Target Release: | 3.6.0 | Flags: | sherold:
Triaged+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-node-3.3.0-0.4.20150906git14a6024.el7ev | Doc Type: | Enhancement |
Doc Text: |
Red Hat Enterprise Virtualization Hypervisor users can now configure the logrotate interval and maximum size via automated installation options. The parameters can be used together or separately. If used separately, the default value for 'logrotate_max_size' is '1024' and the default value for 'logrotate_interval' is 'daily'.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-09 14:15:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1094719 |
Description
wanghui
2014-10-16 03:21:45 UTC
Test version: rhev-hypervisor7-7.2-20151025.0.el7ev ovirt-node-3.3.0-0.18.20151022git82dc52c.el7ev.noarch Test steps: 1. Auto install rhev-hypervisor7-7.2-20151025.0.el7ev with follow parameters. BOOTIF=em1 storage_init=/dev/sda adminpw=4DHc2Jl0D05xk logrotate_max_size=2048 logrotate_interval=weekly firstboot 2. Check in TUI 3. Check the /etc/logrotate.d/ovirt-node file Test results: 1. After step1, auto-install can be succeed. 2. # cat /etc/logrotate.d/ovirt-node # Keep the previous three rotations, and rotate if it's been at least # a day *and* the filesize is at least minsize /var/log/ovirt*.log { rotate 3 compress missingok minsize 2048 weekly create } So this issue is fixed in ovirt-node-3.3.0-0.18.20151022git82dc52c.el7ev.noarch. Change the status to Verified. 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. https://rhn.redhat.com/errata/RHBA-2016-0378.html |