Hide Forgot
Description of problem: When virt-who received 429 info from candlepin, it will show "RateLimitExceededException" in the log. Version-Release number of selected component (if applicable): virt-who-0.16-7.el6.noarch 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 stage candlepin. 2. Configure virt-who run at kvm/vdsm mode, start virt-who service, update host/guest mapping info frequently(start/stop/pause/add/delete)guests. make virt-who receive 429 info from server. 3. Check virt-who's log # tail -f /var/log/rhsm/rhsm.log MainProcess(13994):MainThread @virtwho.py:send:216 - Error in communication with subscription manager: Traceback (most recent call last): File "/usr/share/virt-who/virtwho.py", line 197, in send self._sendGuestList(report) File "/usr/share/virt-who/virtwho.py", line 222, in _sendGuestList manager.sendVirtGuests(report, self.options) File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 152, in sendVirtGuests self.connection.updateConsumer(self.uuid(), guest_uuids=serialized_guests) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 995, in updateConsumer ret = self.conn.request_put(method, params) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 690, in request_put return self._request("PUT", method, params) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 598, in _request self.validateResponse(result, request_type, handler) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 664, in validateResponse raise RateLimitExceededException(response['status']) RateLimitExceededException 2016-03-22 20:51:08,359 [virtwho.main DEBUG] MainProcess(13994):MainThread @virtwho.py:send_report:168 - Report from "env/cmdline" failed to sent. Actual results: Virt-who will show RateLimitExceededException in the log when it received 429 info. Expected results: Virt-who shouldn't show RateLimitExceededException when it received 429 info, it should show remind info to retry after 60s, just as work at esx mode. Additional info:
There is missing error handler, fixed upstream: https://github.com/virt-who/virt-who/commit/d834d8df9cffde489a7d5a2c92f5ac33ad698b5b Proposing for blocker.
As I didn't manage to get this fixed in Snap4 and I don't want to risk breaking something in the RC, I'm moving this to 6.9. Sorry for troubles.
Fixed in virt-who-0.18-1.el6.
verified in virt-who-0.18-1.el6 if received 429 error code, virt-who will try to sent it again every 60s/120s/180s
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