Anomalie #80

sitemonitord not catching XML-RPC faults when calling methods on nodes

Added by pnl 3549 days ago.

Status:New Start:10/13/2010
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:- Spent time: -
Target version:-

Description

Traceback (most recent call last):
  File "./sitemonitord", line 819, in <module>
    cfg.get('sitenode', 'label')
  File "./sitemonitord", line 114, in __init__
    self.mainloop()
  File "./sitemonitord", line 120, in mainloop
    self.hostnodes.sanity()
  File "./sitemonitord", line 560, in sanity
    xml.wakeup()
  File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
    return u.close()
  File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'Trace: [(\'./hostmgrd\', 262, \'wakeup\', \'del self.guests[g.label]\'), (\'/nfs/jul/sinn/lib/pysinn/machine.py\', 503, \'__delitem__\', \'del self.nbds[s.id]\'), (\'/nfs/jul/sinn/lib/pysinn/storage/client.py\', 579, \'__delitem__\', \'cur_hash = self[key].hash\')]\nException: [\'Traceback (most recent call last):\\n\', \'  File "./hostmgrd", line 262, in wakeup\\n    del self.guests[g.label]\\n\', \'  File "/nfs/jul/sinn/lib/pysinn/machine.py", line 503, in __delitem__\\n    del self.nbds[s.id]\\n\', \'  File "/nfs/jul/sinn/lib/pysinn/storage/client.py", line 579, in __delitem__\\n    cur_hash = self[key].hash\\n\', "KeyError: u\'Boutique.front2-10.0.151.61-1201\'\\n"]'>

Also available in: Atom PDF