Bugzilla bug watch updater crashes on POSTs that return a HTTP error

Bug #125068 reported by Diogo Matsubara
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

http://launchpadlibrarian.net/8354718/1hlQn5OmtNVYKd0E09nh2n8khr2.txt

Traceback (most recent call last):
  File "checkwatches.py", line 34, in main
    update_bug_tracker(bug_tracker, self.logger)
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/scripts/checkwatches.py", line 30, in update_bug_tracker
    remotesystem.updateBugWatches(bug_watches_to_update)
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/components/externalbugtracker.py", line 134, in updateBugWatches
    self._initializeRemoteBugDB(bug_ids_to_update)
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/components/externalbugtracker.py", line 345, in _initializeRemoteBugDB
    buglist_xml = self._postPage(buglist_page, data)
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/components/externalbugtracker.py", line 200, in _postPage
    page = urllib2.urlopen(request, data=post_data)
  File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "/usr/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 504: Gateway Time-Out

OOPS-835CCW41

description: updated
description: updated
description: updated
Changed in malone:
importance: Undecided → Medium
milestone: none → 1.2.5
status: New → Confirmed
Changed in malone:
milestone: 1.2.5 → 1.2.6
Changed in malone:
milestone: 1.2.6 → none
Graham Binns (gmb)
tags: removed: trivial
Gavin Panella (allenap)
tags: added: story-reliable-bug-syncing
Changed in launchpad:
importance: Medium → Critical
William Grant (wgrant)
Changed in launchpad:
status: Triaged → Fix Released
assignee: nobody → William Grant (wgrant)
milestone: none → 11.04
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.