Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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-2017-0675.html
Description of problem: When virt-who work at local libvirt mode, although no changes in host/guests , virt-who still send mapping info to server periodically. Version-Release number of selected component (if applicable): virt-who-0.16-7.el6 subscription-manager-1.16.8-7.el6.x86_64 python-rhsm-1.16.6-1.el6.x86_64 How reproducible: always Steps to Reproduce: 1. Register system to satellite, make virt-who run at local libvirt mode and enable debug option [root@dell-pem600-01 ~]# cat /etc/sysconfig/virt-who | grep -v ^# | grep -v ^$ VIRTWHO_DEBUG=1 2. restart virt-who service and check rhsm.log. # /etc/init.d/virt-who restart # tail -f /var/log/rhsm/rhsm.log 3. Make sure no host/guests changes, wait for over 120s. Actual results: Virt-who send host/guest mapping info to server side every refresh interval(60s) ========================start virtwho service=============================== 2016-03-24 02:01:17,437 [virtwho.main DEBUG] MainProcess(25556):MainThread @virtwho.py:run:231 - Starting infinite loop with 60 seconds interval 2016-03-24 02:01:17,606 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @virt.py:run:358 - Virt backend 'env/cmdline' started 2016-03-24 02:01:17,608 [virtwho.env_cmdline INFO] Libvirtd-1(25564):MainThread @libvirtd.py:_connect:156 - Using libvirt url: "" 2016-03-24 02:01:17,664 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @libvirtd.py:_listDomains:244 - Libvirt domains found: 9bc436d8-20cf-711c-4056-d30f8c709a0f 2016-03-24 02:01:17,664 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @virt.py:enqueue:351 - Report for config "env/cmdline" gathered, putting to queue for sending 2016-03-24 02:01:17,686 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:_connect:121 - Authenticating with certificate: /etc/pki/consumer/cert.pem 2016-03-24 02:01:18,625 [virtwho.main INFO] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:147 - Sending update in guests lists for config "env/cmdline": 1 guests found 2016-03-24 02:01:18,625 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:148 - Domain info: [ { "guestId": "9bc436d8-20cf-711c-4056-d30f8c709a0f", "state": 1, "attributes": { "active": 1, "hypervisorVersion": "0.12.1", "virtWhoType": "libvirt", "hypervisorType": "QEMU" } } ] 2016-03-24 02:01:22,366 [virtwho.main DEBUG] MainProcess(25556):MainThread @virtwho.py:send_report:161 - Report for config "env/cmdline" sent ==================After 60s, send mapping info to server==================== 2016-03-24 02:02:17,731 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @libvirtd.py:_listDomains:244 - Libvirt domains found: 9bc436d8-20cf-711c-4056-d30f8c709a0f 2016-03-24 02:02:17,732 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @virt.py:enqueue:351 - Report for config "env/cmdline" gathered, putting to queue for sending 2016-03-24 02:02:22,373 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:_connect:121 - Authenticating with certificate: /etc/pki/consumer/cert.pem 2016-03-24 02:02:22,917 [virtwho.main INFO] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:147 - Sending update in guests lists for config "env/cmdline": 1 guests found 2016-03-24 02:02:22,918 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:148 - Domain info: [ { "guestId": "9bc436d8-20cf-711c-4056-d30f8c709a0f", "state": 1, "attributes": { "active": 1, "hypervisorVersion": "0.12.1", "virtWhoType": "libvirt", "hypervisorType": "QEMU" } } ] 2016-03-24 02:02:25,042 [virtwho.main DEBUG] MainProcess(25556):MainThread @virtwho.py:send_report:161 - Report for config "env/cmdline" sent ==================After 60s, send mapping info to server==================== 2016-03-24 02:03:17,796 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @libvirtd.py:_listDomains:244 - Libvirt domains found: 9bc436d8-20cf-711c-4056-d30f8c709a0f 2016-03-24 02:03:17,796 [virtwho.env_cmdline DEBUG] Libvirtd-1(25564):MainThread @virt.py:enqueue:351 - Report for config "env/cmdline" gathered, putting to queue for sending 2016-03-24 02:03:25,054 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:_connect:121 - Authenticating with certificate: /etc/pki/consumer/cert.pem 2016-03-24 02:03:25,591 [virtwho.main INFO] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:147 - Sending update in guests lists for config "env/cmdline": 1 guests found 2016-03-24 02:03:25,592 [virtwho.main DEBUG] MainProcess(25556):MainThread @subscriptionmanager.py:sendVirtGuests:148 - Domain info: [ { "guestId": "9bc436d8-20cf-711c-4056-d30f8c709a0f", "state": 1, "attributes": { "active": 1, "hypervisorVersion": "0.12.1", "virtWhoType": "libvirt", "hypervisorType": "QEMU" } } ] 2016-03-24 02:03:27,878 [virtwho.main DEBUG] MainProcess(25556):MainThread @virtwho.py:send_report:161 - Report for config "env/cmdline" sent Expected results: Virt-who should show notice info if no host/guest mapping info change in local libvirt mode. for example: "No change in report gathered using config: "env/cmdline", report not sent." Additional info: