Page MenuHomePhabricator

Zuul WebApp no more provide status.json (exception raised)
Closed, ResolvedPublic


On gallium, I have upgraded python-stated from 2.0.1 to 3.0.1 and restarted Zuul. The web app service at now throw an internal server error.

Using strace I found the following python stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/paste/", line 1068, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/", line 638, in __init__
  File "/usr/lib/python2.7/dist-packages/paste/", line 442, in handle
  File "/usr/lib/python2.7/", line 340, in handle
  File "/usr/lib/python2.7/dist-packages/paste/", line 437, in handle_one_request
  File "/usr/lib/python2.7/dist-packages/paste/", line 287, in wsgi_execute
  File "/usr/lib/python2.7/dist-packages/webob/", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/", line 210, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/zuul/", line 130, in app
NameError: global name 'reponse' is not defined

Seems unrelated to the python-statsd upgrade, maybe some other module has been upgraded.

Event Timeline

hashar created this task.Dec 12 2014, 2:58 PM
hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar changed Security from none to None.
hashar added a subscriber: hashar.

That is entirely my fault. Earlier this week I have reset Zuul to wmf-deploy-20141030-3 which has a wrong patch causing that exact error.

Reverting again to wmf-deploy-20141030-4 which is safe.

hashar closed this task as Resolved.Dec 12 2014, 3:15 PM
hashar claimed this task.