Re: Simple Architecture Diagram?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The root cause of this was that NO modules were loading because of how Ubuntu and Centos differ on module paths.

(/local) -- see my other thread.

On 2/25/11 1:03 PM, seth vidal wrote:
On Thu, 2011-02-10 at 16:11 -0800, Joel Krauska wrote:
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'],

smart.info couldn't be found on the minion


'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'],


ditto above.

'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']}

couldn't connect to this minion/refused by iptables?



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?

b/c the cli is kinda weak. That's one of the reasons why I've been doing
more and more work in specific tools rather than the catch-all tool of
'func'.


-sv



_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux