Bug 1292736
| Summary: | running virt-who in big vmware environments results in to fast growing logfiles | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Christian Horn <chorn> | |
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> | |
| Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.3 | CC: | cww, dnagarat, egolov, hsun, jherrman, ldai, mgazdik, mkalyat, mkolaja, ovasik, rbalakri, rkondusk, rnovacek, scott.higgins, sgao, shihliu, xdmoon | |
| Target Milestone: | alpha | Keywords: | ZStream | |
| Target Release: | 7.3 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | virt-who-0.17-1.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, virt-who was very verbose when writing to its log file. As a result, the log file grew very quickly, especially in large environments. Now, virt-who logs significantly less information in non-debug mode, and the log file thus grows slower.
|
Story Points: | --- | |
| Clone Of: | 1281715 | |||
| : | 1369473 (view as bug list) | Environment: | ||
| Last Closed: | 2016-11-04 05:07:50 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1281715, 1355624 | |||
| Bug Blocks: | 1203710, 1296845, 1298337, 1313485, 1369473 | |||
|
Comment 2
Christian Horn
2015-12-18 09:03:53 UTC
This is already fixed upstream and will be resolved by rebase. Fixed in virt-who-0.17-1.el7. *** Bug 1355624 has been marked as a duplicate of this bug. *** verified with virt-who-0.17-6.el7 disable DEBUG option, there is no host/guests json info in rhsm.log enable DEBUG option, will print the json info Deepannagaraj, it is possible to do a hotfix for this bug. Please follow official hotfix process and propose this bug for z-stream. https://mojo.redhat.com/docs/DOC-80399 Mithun, virt-who logs to the /var/log/rhsm/rhsm.log file. If something in /var/log/foreman/ is growing too fast, I would guess it is a different issue. But it would be best if someone can analyze the big file for log entries that are filling it. Only that way we can be sure what is the problem there. (In reply to Radek Novacek from comment #18) > Mithun, > > virt-who logs to the /var/log/rhsm/rhsm.log file. If something in > /var/log/foreman/ is growing too fast, I would guess it is a different > issue. But it would be best if someone can analyze the big file for log > entries that are filling it. Only that way we can be sure what is the > problem there. Radek, virt-who submits data to Candlepin via Foreman/Katello. Sadly Foreman will log the whole request (incl the full JSON) to production log. So thats the reason for foreman/production.log to grow. Same happens in Candlepin, see c11 for a workaround. Mithun, does the customer use filter_hosts/exclude_hosts options to run virt-who only against systems that do run Red Hat servers? If not, you might suggest it to them, I think it would both reduce the load and generate less logs. 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-2387.html |