Bug 1941507
Summary: | [RFE] Implement rotation mechanism for /var/log/ovirt-engine/host-deploy | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
Component: | ovirt-engine | Assignee: | Dana <delfassy> |
Status: | CLOSED ERRATA | QA Contact: | Pavol Brilla <pbrilla> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4.4 | CC: | ddacosta, dfodor, mkalinin, mperina, pelauter |
Target Milestone: | ovirt-4.4.8 | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.8.1 | Doc Type: | Enhancement |
Doc Text: |
Previously, log files would use too much disk space because the operation runs frequently. The current release fixes this issue by implementing the logrotate feature. With this feature, logs will be rotated monthly or daily with only one archive file being retained. Host deployment, enrollment certificate, host upgrade, ova, brick setup and db-manual logs are rotated monthly. Check for update logs are rotated daily. Compressed files will be removed for update logs 24 hours from the time of creation, brick setup logs will be removed 30 days from the time of creation, and all other logs will be removed 30 days from the last metadata change.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-09-08 14:12:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Roman Hodain
2021-03-22 09:34:48 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again. Asking for an exception for 4.4.7 release, because currently logrotate don't remove log files with timestamp in their names, so disk space on oVirt engine can be exhausted soon on large scale setups. Logs are rotated as follows: - host deploy, enroll certificates, host upgrade, ova, brick setup and db-manual logs are rotated monthly, and one archived file is kept. - check for updates is rotated daily, and one archived file is kept. Compressed files are removed as follows: - host deploy, enroll certificates, host upgrade and ova logs are removed 30 days from when their metadata was changed. - check for updates is removed one day from its creation time. - brick setup log is removed 30 days from its creation time verified during week on 1 environment 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 (RHV Manager (ovirt-engine) [ovirt-4.4.8]), 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://access.redhat.com/errata/RHBA-2021:3460 |