mikrosimage / OpenRenderManagement

Dispatcher Puli
Other
62 stars 23 forks source link

worker register error #10

Closed sebastianelsner closed 10 years ago

sebastianelsner commented 10 years ago

Hey,

I have a problem with my test-setup. It worked the other day and when I returned to play with it again, the worker would not register any more. See the full output here: http://pastebin.com/RqDGzQeq

Ther core error messages are:

Dispatcher 2014-11-21 10:48:57 main.dispatcher WARNING RenderNode already registered. 2014-11-21 10:48:57 main.dispatcher WARNING No commands in current RN, reset command that might be still assigned to this RN 2014-11-21 10:48:57 tornado.application ERROR Uncaught exception POST /rendernodes/station38:8000/ (127.0.0.1) HTTPServerRequest(protocol='http', host='127.0.0.1:8004', method='POST', uri='/rendernodes/station38:8000/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Requestid': '1', 'Host': '127.0.0.1:8004', 'Content-Length': '403', 'Accept-Encoding': 'identity'}) Traceback (most recent call last): File "/home/sebels/puli_venv/lib/python2.6/site-packages/tornado/web.py", line 1336, in _execute raise TypeError("Expected None, got %r" % result) TypeError: Expected None, got {'Content-Type': 'application/json'} 2014-11-21 10:48:57 tornado.access ERROR 500 POST /rendernodes/station38:8000/ (127.0.0.1) 14.52ms

Worker:

2014-11-21 10:49:12,318 - INFO [worker] Boot process... registering worker 2014-11-21 10:49:12,323 - ERROR [worker] Dispatcher (127.0.0.1:8004) is not reachable. We'll retry... Traceback (most recent call last): File "/opt/puli/octopus/worker/worker.py", line 345, in registerWorker resp = self.requestManager.post(url, dct, headers) File "/opt/puli/octopus/core/communication/requestmanager.py", line 108, in post return self.request("POST", path, data, headers) File "/opt/puli/octopus/core/communication/requestmanager.py", line 61, in request raise self.RequestError(r.reason + " for request %s %s" % (method, path), r.status) RequestError: Internal Server Error for request POST /rendernodes/station38:8000/

This actually happens every time a worker is restarted and tries re-register.

sebastianelsner commented 10 years ago

This seems to be an API change with tornado>3.0.2. All newer versions do not work.