Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1153417 - [RFE] Add automation parameter for logrotate Interval
[RFE] Add automation parameter for logrotate Interval
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node (Show other bugs)
3.5.0
Unspecified Unspecified
low Severity medium
: ovirt-3.6.0-rc
: 3.6.0
Assigned To: Douglas Schilling Landgraf
wanghui
: FutureFeature
Depends On:
Blocks: rhevh-7.0
  Show dependency treegraph
 
Reported: 2014-10-15 23:21 EDT by wanghui
Modified: 2016-03-09 09:15 EST (History)
12 users (show)

See Also:
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 09:15:05 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Node
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sherold: Triaged+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 41369 master MERGED logrotate: autoinstall options interval Never
Red Hat Product Errata RHBA-2016:0378 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6 2016-03-09 14:06:36 EST

  None (edit)
Description wanghui 2014-10-15 23:21:45 EDT
Description of problem:
It missed the automation parameter for logrotate interval.

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. Check the automation parameter.

Actual results:
1. It missed the automation parameter for logrotate interval.

Expected results:
1. It should have the automation parameter for logrotate interval since we have that in our TUI.

Additional info:
Comment 2 wanghui 2015-10-26 06:06:43 EDT
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.
Comment 4 errata-xmlrpc 2016-03-09 09:15:05 EST
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

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