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.
Description of problem:
when adding or delete a guest, from the rhsm.log, virt-who can get the latest guest list immediately, but can't send the list to server at the same time.
Version-Release number of selected component (if applicable):
- RHEL7.2-20150806.1-Server-x86_64(KVM) against stage candlepin
- virt-who-0.14-3.el7.noarch
- subscription-manager-1.15.9-2.el7.x86_64
- python-rhsm-1.15.4-2.el7.x86_64
How reproducible:
Steps to Reproduce:
1. set VIRTWHO_INTERVAL=3
2. restart virt-who service
3. add a guest (rhel7.0-clone-test), check the rhsm.log, you can see the new guest "rhel7.0-clone-test" is already found, but can't find it from the "Sending domain info" list.
2015-08-13 17:59:25,292 [DEBUG] @libvirtd.py:210 - Virtual machine found: rhel7.0: 95572a0b-390a-4364-ae96-a48c5134d47d
2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:216 - Virtual machine found: rhel7.0-backup: 5262e779-29c6-4331-a344-c46e78012425
2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:216 - Virtual machine found: rhel7.0-clone-test: 04d4c7ba-4fd3-432c-b59a-91e72e7edff8
2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:220 - Libvirt domains found: ['95572a0b-390a-4364-ae96-a48c5134d47d', '5262e779-29c6-4331-a344-c46e78012425', '04d4c7ba-4fd3-432c-b59a-91e72e7edff8']
2015-08-13 17:59:25,493 [INFO] @subscriptionmanager.py:136 - Sending domain info: [
{
"guestId": "5262e779-29c6-4331-a344-c46e78012425",
"state": 5,
"attributes": {
"active": 0,
"virtWhoType": "libvirt",
"hypervisorType": "QEMU"
}
},
{
"guestId": "95572a0b-390a-4364-ae96-a48c5134d47d",
"state": 1,
"attributes": {
"active": 1,
"virtWhoType": "libvirt",
"hypervisorType": "QEMU"
}
}
]
2015-08-13 17:59:30,209 [INFO] @virtwho.py:190 - virt-who guest list update successful
2015-08-13 17:59:30,211 [DEBUG] @subscriptionmanager.py:112 - Authenticating with certificate: /etc/pki/consumer/cert.pem
Actual results:
virt-who can find the new guest, but will send it to the server next and next time.
Expected results:
if virt-who can list the new guest, the guest uuid should be sent to the server at the same time.
Additional info:
Description of problem: when adding or delete a guest, from the rhsm.log, virt-who can get the latest guest list immediately, but can't send the list to server at the same time. Version-Release number of selected component (if applicable): - RHEL7.2-20150806.1-Server-x86_64(KVM) against stage candlepin - virt-who-0.14-3.el7.noarch - subscription-manager-1.15.9-2.el7.x86_64 - python-rhsm-1.15.4-2.el7.x86_64 How reproducible: Steps to Reproduce: 1. set VIRTWHO_INTERVAL=3 2. restart virt-who service 3. add a guest (rhel7.0-clone-test), check the rhsm.log, you can see the new guest "rhel7.0-clone-test" is already found, but can't find it from the "Sending domain info" list. 2015-08-13 17:59:25,292 [DEBUG] @libvirtd.py:210 - Virtual machine found: rhel7.0: 95572a0b-390a-4364-ae96-a48c5134d47d 2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:216 - Virtual machine found: rhel7.0-backup: 5262e779-29c6-4331-a344-c46e78012425 2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:216 - Virtual machine found: rhel7.0-clone-test: 04d4c7ba-4fd3-432c-b59a-91e72e7edff8 2015-08-13 17:59:25,293 [DEBUG] @libvirtd.py:220 - Libvirt domains found: ['95572a0b-390a-4364-ae96-a48c5134d47d', '5262e779-29c6-4331-a344-c46e78012425', '04d4c7ba-4fd3-432c-b59a-91e72e7edff8'] 2015-08-13 17:59:25,493 [INFO] @subscriptionmanager.py:136 - Sending domain info: [ { "guestId": "5262e779-29c6-4331-a344-c46e78012425", "state": 5, "attributes": { "active": 0, "virtWhoType": "libvirt", "hypervisorType": "QEMU" } }, { "guestId": "95572a0b-390a-4364-ae96-a48c5134d47d", "state": 1, "attributes": { "active": 1, "virtWhoType": "libvirt", "hypervisorType": "QEMU" } } ] 2015-08-13 17:59:30,209 [INFO] @virtwho.py:190 - virt-who guest list update successful 2015-08-13 17:59:30,211 [DEBUG] @subscriptionmanager.py:112 - Authenticating with certificate: /etc/pki/consumer/cert.pem Actual results: virt-who can find the new guest, but will send it to the server next and next time. Expected results: if virt-who can list the new guest, the guest uuid should be sent to the server at the same time. Additional info: