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 migrated a guest to another host, virt-who will show RateLimitExceededException and can't send the mapping info to stage candlepin.
Version-Release number of selected component (if applicable):
- python-rhsm-1.15.4-5.el7.x86_64
- subscription-manager-1.15.9-14.el7.x86_64
- virt-who-0.14-9.el7.noarch
- RHEL7.2-20151008.0-Server-x86_64 + vdsm mode against Stage candlepin
How reproducible:
Steps to Reproduce:
1. prepare two hosts with vdsm mode
2. prepare a guest on host1
2. register the two hosts and guest to stage candlepin
3. subscribe a unlimit pool for the two hosts
4. subscribe the bonus pool for the guest
5. migrate the guest to host2
6. check the rhsm.log on host2, following error message will be found:
2015-10-13 15:08:10,196 [INFO] @subscriptionmanager.py:136 - Sending domain info: [
{
"guestId": "0bff30b0-7c7d-4884-a8a2-6b3b43daa963",
"state": 5,
"attributes": {
"active": 0,
"virtWhoType": "vdsm",
"hypervisorType": "qemu"
}
}
]
2015-10-13 15:08:13,497 [ERROR] @virtwho.py:190 - Error in communication with subscription manager:
Traceback (most recent call last):
File "/usr/share/virt-who/virtwho.py", line 171, in send
self._sendGuestList(report)
File "/usr/share/virt-who/virtwho.py", line 196, in _sendGuestList
manager.sendVirtGuests(report.guests)
File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 139, in sendVirtGuests
self.connection.updateConsumer(self.uuid(), guest_uuids=serialized_guests)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 947, in updateConsumer
ret = self.conn.request_put(method, params)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 653, in request_put
return self._request("PUT", method, params)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 564, in _request
self.validateResponse(result, request_type, handler)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 627, in validateResponse
raise RateLimitExceededException(response['status'])
RateLimitExceededException
Actual results:
RateLimitExceededException will be found, and can't send the mapping info to stage candlepin
Expected results:
no error message found, the mapping info can be sent to stage candlepin normally.
Additional info:
I think that this error shouldn't appear when the reporting interval is set to some high value.
What VIRTWHO_INTERVAL did you used for testing? Can you retry it with some bigger values (60, 3600, etc.)?
Chris, do you know when is this RateLimitExceeded exception raised? What are the circumstances?
hi Radek,
with different interval time (3s, 5s, 15s, 30s, 60s), this exception still can be raised.
As our meeting discussed, if we can't fixed this issue on rhel7.2, we should add it to the release note as a known issue.
Hi Chris & Radek,
I have changed the interval time to 600s, the exception is not found, but 10 minutes is very long for fetching the mapping info when adding or delete a guest. I still suggest to add this issue to release note, do you agree?
Verified it on virt-who-0.17-2.el7.noarch since virt-who's minimum refresh interval has updated to 60s, it hasn't shown RateLimitExceededException when add/delete/migrate vm or add/delete host on vcenter. Therefore, verify it.
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
Description of problem: when migrated a guest to another host, virt-who will show RateLimitExceededException and can't send the mapping info to stage candlepin. Version-Release number of selected component (if applicable): - python-rhsm-1.15.4-5.el7.x86_64 - subscription-manager-1.15.9-14.el7.x86_64 - virt-who-0.14-9.el7.noarch - RHEL7.2-20151008.0-Server-x86_64 + vdsm mode against Stage candlepin How reproducible: Steps to Reproduce: 1. prepare two hosts with vdsm mode 2. prepare a guest on host1 2. register the two hosts and guest to stage candlepin 3. subscribe a unlimit pool for the two hosts 4. subscribe the bonus pool for the guest 5. migrate the guest to host2 6. check the rhsm.log on host2, following error message will be found: 2015-10-13 15:08:10,196 [INFO] @subscriptionmanager.py:136 - Sending domain info: [ { "guestId": "0bff30b0-7c7d-4884-a8a2-6b3b43daa963", "state": 5, "attributes": { "active": 0, "virtWhoType": "vdsm", "hypervisorType": "qemu" } } ] 2015-10-13 15:08:13,497 [ERROR] @virtwho.py:190 - Error in communication with subscription manager: Traceback (most recent call last): File "/usr/share/virt-who/virtwho.py", line 171, in send self._sendGuestList(report) File "/usr/share/virt-who/virtwho.py", line 196, in _sendGuestList manager.sendVirtGuests(report.guests) File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 139, in sendVirtGuests self.connection.updateConsumer(self.uuid(), guest_uuids=serialized_guests) File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 947, in updateConsumer ret = self.conn.request_put(method, params) File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 653, in request_put return self._request("PUT", method, params) File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 564, in _request self.validateResponse(result, request_type, handler) File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 627, in validateResponse raise RateLimitExceededException(response['status']) RateLimitExceededException Actual results: RateLimitExceededException will be found, and can't send the mapping info to stage candlepin Expected results: no error message found, the mapping info can be sent to stage candlepin normally. Additional info: