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 2180032 - Logs are spammed with ' Domain id=7 is tainted: custom-ga-command' message [rhel-8.6.0.z]
Summary: Logs are spammed with ' Domain id=7 is tainted: custom-ga-command' message [r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Peter Krempa
QA Contact: Lili Zhu
URL:
Whiteboard:
Depends On: 2174447
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-20 15:17 UTC by RHEL Program Management Team
Modified: 2023-04-18 16:33 UTC (History)
9 users (show)

Fixed In Version: libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2174447
Environment:
Last Closed: 2023-04-18 16:33:27 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-152519 0 None None None 2023-03-21 05:47:29 UTC
Red Hat Product Errata RHSA-2023:1833 0 None None None 2023-04-18 16:33:45 UTC

Comment 4 Lili Zhu 2023-04-04 07:24:11 UTC
Verify this bug with:
libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91.x86_64

1. prepare a guest with guest agent device
# virsh domtime rhel8.6 
Time: 1680592779

2. check the dominfo
# virsh dominfo rhel8.6 
Id:             1
Name:           rhel8.6
UUID:           c89b1255-a609-4ef8-8054-4aebb05e3d7e
OS Type:        hvm
State:          running
CPU(s):         8
CPU time:       276.7s
Max memory:     2883584 KiB
Used memory:    2097152 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: selinux
Security DOI:   0
Security label: system_u:system_r:svirt_t:s0:c166,c942 (enforcing)

3. check the vcpus about guest using qemu-agent-command
# virsh qemu-agent-command rhel8.6 '{"execute":"guest-get-vcpus"}'
{"return":[{"online":true,"can-offline":true,"logical-id":7},....

4. check the dominfo again
# virsh dominfo rhel8.6 
Id:             1
Name:           rhel8.6
UUID:           c89b1255-a609-4ef8-8054-4aebb05e3d7e
OS Type:        hvm
State:          running
CPU(s):         8
CPU time:       283.4s
Max memory:     2883584 KiB
Used memory:    2097152 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: selinux
Security DOI:   0
Security label: system_u:system_r:svirt_t:s0:c166,c942 (enforcing)
Messages:       tainted: custom guest agent control commands issued

5. check the log
# grep -ni tainted /var/log/libvirt/libvirtd.log
569:2023-04-04 07:20:58.730+0000: 31135: warning : qemuDomainObjTaintMsg:6401 : Domain id=1 name='rhel8.6' uuid=c89b1255-a609-4ef8-8054-4aebb05e3d7e is tainted: custom-ga-command
571:2023-04-04 07:20:58.730+0000: 31135: debug : qemuDomainLogAppendMessage:6766 : Append log message (vm='rhel8.6' message='2023-04-04 07:20:58.730+0000: Domain id=1 is tainted: custom-ga-command

6. repeat step 2 for 100 times
# for i in {1..100}; do virsh qemu-agent-command rhel8.6 '{"execute":"guest-get-vcpus"}'; done

7. check the log again
# grep -ni tainted /var/log/libvirt/libvirtd.log 
569:2023-04-04 07:20:58.730+0000: 31135: warning : qemuDomainObjTaintMsg:6401 : Domain id=1 name='rhel8.6' uuid=c89b1255-a609-4ef8-8054-4aebb05e3d7e is tainted: custom-ga-command
571:2023-04-04 07:20:58.730+0000: 31135: debug : qemuDomainLogAppendMessage:6766 : Append log message (vm='rhel8.6' message='2023-04-04 07:20:58.730+0000: Domain id=1 is tainted: custom-ga-command

(The tainted message is printed when invoking guest-agent-command for the first time. And no new logs about tainted messages printed for the later invoking, logs are not spammed)

Comment 8 errata-xmlrpc 2023-04-18 16:33:27 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 (Moderate: virt:rhel and virt-devel:rhel security and bug fix update), 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/RHSA-2023:1833


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