Bug 1835586
| Summary: | ansible-runner-service.log is in /var/lib | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
| Component: | ovirt-host-deploy-ansible | Assignee: | Martin Necas <mnecas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Brilla <pbrilla> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.3.0 | CC: | bugs, mperina |
| Target Milestone: | ovirt-4.4.1 | Flags: | pm-rhel:
ovirt-4.4+
|
| Target Release: | 4.4.1.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.4.1.2 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-05 06:24:52 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
Yedidyah Bar David
2020-05-14 06:23:07 UTC
Unfortunately right now we have 2 logs: /var/lib/ovirt-engine/ansible-runner-service.log /var/log/httpd/ansible_runner_error_log So we need to perform following actions: 1. Move ansible-runner-service.log from /var/lib/ovirt-engine to /var/log 2. Setup logrotate configuration on both logs Verified parts:
# yum list ovirt-engine
Updating Subscription Management repositories.
Last metadata expiration check: 1:26:54 ago on Fri 26 Jun 2020 06:04:10 PM CEST.
Installed Packages
ovirt-engine.noarch 4.4.1.5-0.17.el8ev @rhvbuild
# find / -name "ansible-runner-service.log"
/var/log/ovirt-engine/ansible-runner-service.log
# grep -R ansible /etc/logrotate.*
/etc/logrotate.d/ovirt-engine:"/var/log/ovirt-engine/ansible"/*.log {
/etc/logrotate.d/ovirt-engine:"/var/log/ovirt-engine/ansible-runner-service.log" {
Failed_QE because missing logrotate for: /var/log/httpd/ansible_runner_error_log - check #1
# ls -l /var/log/httpd/ansible_runner_error_log
-rw-r--r--. 1 root root 1394805 Jun 26 17:51 /var/log/httpd/ansible_runner_error_log
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. I have removed the logging to /var/log/httpd/ansible_runner_error_log so it is possible that you have it from the previous build. Also, the httpd has it's own logrotate at /etc/logrotate.d/httpd # cat /etc/logrotate.d/httpd
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
rest of verification is from coment#2
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |