More debugging..
python
>>> import func.overlord.client as fc
>>> import func.utils as utils
>>>
>>> info = fc.Overlord("*").smart.info()
>>> info
{'HOSTNAMEFOO': ['REMOTE_ERROR',
'func.minion.codes.ModuleNotFoundException', '', ' File
"/usr/local/lib/python2.6/dist-packages/func/minion/server.py", line
316, in _dispatch\n return
self.get_dispatch_method(method)(*params)\n File
"/usr/local/lib/python2.6/dist-packages/func/minion/server.py", line
160, in get_dispatch_method\n raise codes.ModuleNotFoundException\n'],
'HOSTNAMEFUM': ['REMOTE_ERROR',
'func.minion.codes.ModuleNotFoundException', '', ' File
"/usr/local/lib/python2.6/dist-packages/func/minion/server.py", line
316, in _dispatch\n return
self.get_dispatch_method(method)(*params)\n File
"/usr/local/lib/python2.6/dist-packages/func/minion/server.py", line
160, in get_dispatch_method\n raise codes.ModuleNotFoundException\n'],
'HOSTNAMETHREE': ['REMOTE_ERROR', 'socket.error', '[Errno 111]
Connection refused', ' File
"/usr/local/lib/python2.6/dist-packages/func/overlord/client.py", line
861, in process_server\n retval = getattr(conn, meth)(*args[:])\n
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__\n
return self.__send(self.__name, args)\n File
"/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request\n
verbose=self.__verbose\n File "/usr/lib/python2.6/xmlrpclib.py", line
1235, in request\n self.send_content(h, request_body)\n File
"/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content\n
connection.endheaders()\n File "/usr/lib/python2.6/httplib.py", line
904, in endheaders\n self._send_output()\n File
"/usr/lib/python2.6/httplib.py", line 776, in _send_output\n
self.send(msg)\n File "/usr/lib/python2.6/httplib.py", line 735, in
send\n self.connect()\n File
"/usr/local/lib/python2.6/dist-packages/certmaster/SSLCommon.py", line
109, in connect\n self.sock.connect((self.host, self.port))\n File
"<string>", line 1, in connect\n']}
server.py exists on both minon and overlord..
md5sum
9087810c02a8065fd949ebff8e14873a
/usr/local/lib/python2.6/dist-packages/func/minion/server.py
Why don't REMOTE_ERRORs float up to the cli?
Any help debugging this?
--Joel
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list