Master fails to send crash notification on crash

Bug #1039135 reported by Cody A.W. Somerville on 2012-08-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Offspring
High
Kevin McDermott

Bug Description

The call to notifications.notify_crash fails to pass in configuration to use as second argument resulting in following traceback that is only displayed if the offspring-master is ran in debug mode:

  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/srv/lib/offspring/master/master.py", line 69, in run
    mailer=self.mailer)
TypeError: notify_crash() takes at least 2 arguments (2 given)

In master.py we see:

                notifications.notify_crash(
                    "Lexbuilder Master (Build Queue Dispatcher)",
                     mailer=self.mailer)

while the function signature for the function is:

def notify_crash(component, config, mailer=mail_notification)

Related branches

Changed in offspring:
assignee: nobody → Kevin McDermott (bigkevmcd)
status: Triaged → In Progress
Changed in offspring:
status: In Progress → Fix Committed
Changed in offspring:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers