RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1292736 - running virt-who in big vmware environments results in to fast growing logfiles
Summary: running virt-who in big vmware environments results in to fast growing logfiles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.3
Hardware: All
OS: All
high
medium
Target Milestone: alpha
: 7.3
Assignee: Radek Novacek
QA Contact: Eko
URL:
Whiteboard:
: 1355624 (view as bug list)
Depends On: 1281715 1355624
Blocks: 1203710 1296845 1298337 1313485 1369473
TreeView+ depends on / blocked
 
Reported: 2015-12-18 08:58 UTC by Christian Horn
Modified: 2020-03-11 15:00 UTC (History)
17 users (show)

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.
Clone Of: 1281715
: 1369473 (view as bug list)
Environment:
Last Closed: 2016-11-04 05:07:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2049753 0 None None None 2015-12-18 08:58:58 UTC
Red Hat Product Errata RHBA-2016:2387 0 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2016-11-03 13:53:39 UTC

Comment 2 Christian Horn 2015-12-18 09:03:53 UTC
We need this fix also in rhel7.

Comment 4 Radek Novacek 2016-03-08 06:48:15 UTC
This is already fixed upstream and will be resolved by rebase.

Comment 6 Radek Novacek 2016-05-17 12:59:53 UTC
Fixed in virt-who-0.17-1.el7.

Comment 8 Radek Novacek 2016-07-12 06:13:43 UTC
*** Bug 1355624 has been marked as a duplicate of this bug. ***

Comment 9 Eko 2016-07-18 05:01:38 UTC
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

Comment 13 Radek Novacek 2016-07-26 12:59:33 UTC
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

Comment 18 Radek Novacek 2016-09-29 05:43:00 UTC
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.

Comment 19 Evgeni Golov 2016-09-29 07:58:02 UTC
(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.

Comment 21 Radek Novacek 2016-10-06 06:10:01 UTC
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.

Comment 23 errata-xmlrpc 2016-11-04 05:07:50 UTC
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


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