Darryl Dixon - Winterhouse Consulting wrote:
Hi list,
I have a fresh install of the EPEL func RPMs on an RHEL4 box, amongst
others, and none of them seem to actually be able to use the modules that
apparently ship with func, eg, from the certmaster server, I get messages
like these:
[root@is certmaster]# func akcux157 call command ls
{'akcux157': ['REMOTE_ERROR',
'func.minion.codes.InvalidMethodException',
'',
' File
"/usr/lib/python2.3/site-packages/func/minion/server.py",
line 257, in _dispatch\n return
self.get_dispatch_method(method)(*params)\n File
"/usr/lib/python2.3/site-packages/func/minion/server.py",
line 126, in get_dispatch_method\n raise
codes.InvalidMethodException\n']}
[root@is certmaster]# func akcux157 call hardware info
{'akcux157': ['REMOTE_ERROR',
'exceptions.ImportError',
'No module named smolt',
' File
"/usr/lib/python2.3/site-packages/func/minion/server.py",
line 157, in __call__\n rc = self.__method(*args)\n
File
"/usr/lib/python2.3/site-packages/func/minion/modules/hardware.py",
line 73, in info\n return hw_info(with_devices)\n File
"/usr/lib/python2.3/site-packages/func/minion/modules/hardware.py",
line 110, in hw_info\n import smolt\n']}
Can anyone enlighten me?
Sounds like either it's not finding the modules at all, or failing to
load them. Epel4 has func 0.24?
Take a look at /var/log/func/func.log. Any errors about why the modules
failed to load?
Adrian
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list