GLab / ToMaTo

German-Lab ToMaTo
http://www.tomato-lab.org
32 stars 21 forks source link

Failed to cast element #1396

Open a-gerhard opened 8 years ago

a-gerhard commented 8 years ago

Happened on 1 Hostmanager

Description:

{'code': 'upcast', 'trace': [['/usr/lib/python2.7/threading.py', 525, '__bootstrap', 'self.__bootstrap_inner()'], ['/usr/lib/python2.7/threading.py', 552, '__bootstrap_inner', 'self.run()'], ['/usr/lib/python2.7/threading.py', 505, 'run', 'self.__target(*self.__args, **self.__kwargs)'], ['/usr/share/tomato-hostmanager/tomato/lib/tasks.py', 133, '_workerLoop', 'self.executeTask(taskId)'], ['/usr/share/tomato-hostmanager/tomato/lib/tasks.py', 149, 'executeTask', 'task.execute()'], ['/usr/share/tomato-hostmanager/tomato/lib/tasks.py', 46, 'execute', 'self.fn(*self.args, **self.kwargs)'], ['/usr/share/tomato-hostmanager/tomato/lib/util.py', 24, 'call', 'return fn(*args, **kwargs)'], ['/usr/share/tomato-hostmanager/tomato/elements/__init__.py', 515, 'checkTimeout', 'el = el.upcast()'], ['/usr/share/tomato-hostmanager/tomato/elements/__init__.py', 140, 'upcast', 'data={"id": self.id, "type": self.type})'], ['/usr/share/tomato-hostmanager/tomato/lib/error.py', 64, '__init__', 'self.trace = traceback.extract_stack()']], 'data': {'type': 'openvz_interface', 'id': 5906}, 'module': 'hostmanager', 'httpcode': 500, 'message': 'Failed to cast element', 'onscreenmessage': 'Failed to cast element', 'type': 'internal'}

Trace:

/usr/lib/python2.7/threading.py, line 525, in __bootstrap
 self.__bootstrap_inner()

/usr/lib/python2.7/threading.py, line 552, in __bootstrap_inner
 self.run()

/usr/lib/python2.7/threading.py, line 505, in run
 self.__target(*self.__args, **self.__kwargs)

/usr/share/tomato-hostmanager/tomato/lib/tasks.py, line 133, in _workerLoop
 self.executeTask(taskId)

/usr/share/tomato-hostmanager/tomato/lib/tasks.py, line 149, in executeTask
 task.execute()

/usr/share/tomato-hostmanager/tomato/lib/tasks.py, line 46, in execute
 self.fn(*self.args, **self.kwargs)

/usr/share/tomato-hostmanager/tomato/lib/util.py, line 24, in call
 return fn(*args, **kwargs)

/usr/share/tomato-hostmanager/tomato/elements/__init__.py, line 515, in checkTimeout
 el = el.upcast()

/usr/share/tomato-hostmanager/tomato/elements/__init__.py, line 140, in upcast
 data={"id": self.id, "type": self.type})

/usr/share/tomato-hostmanager/tomato/lib/error.py, line 64, in __init__
 self.trace = traceback.extract_stack()
a-gerhard commented 8 years ago

https://www.dropbox.com/s/rpopxq1x61ol2bu/host-glab51__1470493235.11.errordump.json?dl=0