#4429 "Cached Package Review Tracker" stopped updating
Closed: Fixed None Opened 5 years ago by cheeselee.

"Cached Package Review Tracker" stopped updating, including "New tickets" page.

This might be fallout from python-bugzilla-1.1.0.

Traceback (most recent call last):
File "/usr/local/bin/review-stats.py", line 612, in <module>
bz = bugzilla.RHBugzilla(url=config['url'], cookiefile=None, user=config['username'], password=config['password'])
File "/usr/lib/python2.6/site-packages/bugzilla/rhbugzilla.py", line 59, in init
_add_both_alias('fixed_in', 'cf_fixed_in')
File "/usr/lib/python2.6/site-packages/bugzilla/rhbugzilla.py", line 56, in _add_both_alias
self._add_field_alias(newname, origname, is_api=False)
AttributeError: 'RHBugzilla' object has no attribute '_add_field_alias'

Sadly, downgrading to python-bugzilla-1.0.0 gives:

Traceback (most recent call last):
File "/usr/local/bin/review-stats.py", line 614, in <module>
(bugs, bugdata, usermap) = run_query(bz)
File "/usr/local/bin/review-stats.py", line 272, in run_query
for i in bz._proxy.User.get({'names': usermap.keys()})['users']:
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 191, in request
return self._request_helper(url, request_body)
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 177, in _request_helper
raise sys.exc_info()[1]
xmlrpclib.Fault: <fault 51:="" "there="" is="" no="" user="" named="" 'juan="" botero'.="" either="" you="" mis-typed="" the="" name="" or="" that="" user="" has="" not="" yet="" registered="" for="" a="" red="" hat="" bugzilla="" account."="">

Seems like the python-bugzilla-1.0 version is working... we hypothesize that it was a transient problem with bugzilla.rh.com itself.

tibbs, would you have the time to look into the python-bugzilla-1.1.0 problem?

The service stalled again.
Last updated: 2014-07-24 04:30, query time: 24.273s, output time: 1.645s, version: 4.0.

Yeah, same issue... python-bugzilla was updated.

Downgraded it again to get things working, but we really need to fix this longer term. ;(

The service stalled again. Last updated: 2014-10-14 20:30, query time: 24.888s, output time: 1.416s, version: 4.0.

The service stalled again. Last updated: 2014-11-17 17:30, query time: 21.903s, output time: 0.968s, version: 4.0.

Should be restarted again now. Sorry about that.

Login to comment on this ticket.