Bug 1614195
| Summary: | [v2v] Keep more logs with ovirt-imageio-daemon | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-imageio | Reporter: | Mor <mkalfon> |
| Component: | Daemon | Assignee: | Nir Soffer <nsoffer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilan Zuckerman <izuckerm> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.4.2 | CC: | bugs, dagur, ebenahar, michal.skrivanek, nsoffer, tnisan, ylavi |
| Target Milestone: | ovirt-4.2.6 | Keywords: | Performance |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2?
rule-engine: planning_ack? rule-engine: devel_ack+ rule-engine: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-imageio-{common,daemon}-1.4.3 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-03 15:08:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Scale | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mor
2018-08-09 07:52:13 UTC
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. 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. Since we decreased the amount of logged data to 25% (see bug 1614202), I think increasing the kept logs to 10 x 20M should be enough. For testing with debug level you should increase the log files size to at leat 80M, see: https://bugzilla.redhat.com/show_bug.cgi?id=1614202#c3 Fixed in: commit 2ddff6d5825f603d82d973508b927cb18d7306f2 Author: Nir Soffer <nsoffer> Date: Fri Aug 10 03:56:08 2018 +0300 logging: Double amount of daemon logs Increase maximum log size to 20 MiB. This will make it easier to debug big uploads, spanning over less logs, and reduce the chance of loosing old logs because of log rotation. Testing with 100G sparse image (19G data, 12,704 segments), show that we need about 6.1M of logs per virt-v2v import. With 10 logs, this is enough to keep 32 uploads logs. Change-Id: I8927b3228b6c2c14f8c0b3b54b9d898c54096ead Bug-Url: https://bugzilla.redhat.com/1614195 Signed-off-by: Nir Soffer <nsoffer> Moving to urgent, since without these changes it is very likely to loose virt-v2v import logs because of rotation. Without logs, we will not be able to debug issues in the field. We're releasing today 4.2.6 RC2 including v1.4.3 which is referencing this bug. can you please check this bug status? (In reply to Sandro Bonazzola from comment #5) Bug should be fixed in 1.4.3, but not tested by QE yet. We have a downstream build, moving to ON_QA Verified on rhev 4.2.6.3-0.1.el7ev /etc/ovirt-imageio-daemon/logger.conf contains 20971520 bytes for log file size. |