bodhi is not closing/updating bugs as they are pushed to stable. https://bugzilla.redhat.com/show_bug.cgi?id=860521 https://bugzilla.redhat.com/show_bug.cgi?id=860515
https://bugzilla.redhat.com/show_bug.cgi?id=860422 Is this still happening to newly filed updates?
Looks like a bugzilla interface change... [bodhi.masher] ERROR 2012-10-15 04:24:17,240 _close_bug() takes exactly 2 arguments (3 given) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/bodhi/masher.py", line 762, in run update.modify_bugs() File "/usr/lib/python2.6/site-packages/bodhi/model.py", line 642, in modify_bugs self, bug._default_message(self)), self.bugs) File "/usr/lib/python2.6/site-packages/bodhi/model.py", line 642, in <lambda> self, bug._default_message(self)), self.bugs) File "/usr/lib/python2.6/site-packages/bodhi/model.py", line 1518, in close_bug bug.close('ERRATA', fixedin=update.builds[0].nvr, comment=comment) File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 1360, in close comment,isprivate,private_in_it,nomail) File "/usr/lib/python2.6/site-packages/bugzilla/rhbugzilla.py", line 281, in _closebug return self._close_bug(id, update) TypeError: _close_bug() takes exactly 2 arguments (3 given)
This seems like a regression in python-bugzilla and a bug with the new Bugzilla. You can reproduce the issue with: bz.getbug(866281).close('ERRATA', comment='testing') It seems like _close_bugs in rhbugzilla.py should take 'self' as the first argument. def _close_bug(id, updates): updates['id'] = id However, once making this change, I then get this server-side error: Fault: <Fault Client: 'Failed to locate method (closeBug) in class (Bugzilla::WebService::Bug) at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 2837.\n'> Versions: python-bugzilla-0.7.0-1.el6.noarch
It's fixed now.
(In reply to comment #4) > It's fixed now. Really? Can you give some evidence, before closing?
Ok here is an example: bug 861922
The following code works for me with python-bugzilla-0.7.0-1.fc17 to close a bug: bz._update_bug(861445, {"status": "CLOSED", "resolution": "CURRENTRELEASE"})