Re: func can't control client

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

 



On Wed, Nov 16, 2011 at 06:18, Detlev Habicht <detlev.habicht@xxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

i am new to this list and to func.

I just trying to install func and i have this problem:

My overlord is running with SL 6.1 and the client with F14.

The clients autosigning is working:

[root@ppxe func]# certmaster-ca --list-signed
ppxe
pxe-197


ppxe is also the overlord.

But this doesn't work:

[root@ppxe func]# func "*"  ping
[ ok ... ] ppxe
[ FAILED ] pxe-197

There is communication between the two hosts (checked with tcpdump) and
i find on the client a log entry:

[root@pxe-197 func]# tail audit.log 
2011-11-16 12:29:03,878 - 192.168.41.9 ppxe.ims.uni-hannover.de-CA-KEY 35...50 test.ping called with ()
...
2011-11-16 13:11:18,455 - 192.168.41.9 ppxe.ims.uni-hannover.de-CA-KEY 35...50 test.ping called with ()

But the result is FAILED.

When i try this, i see a result on the localhost (the overlord) and again problems on the client:

[root@ppxe func]# func "*" call system list_modules
{'ppxe': ['bridge',
          'certmastermod',
          'command',
          'confmgt_augeas',
          ...
          'snmp',
          'sysctl',
          'test',
          'users',
          'vlan',
          'yumcmd'],
 'pxe-197': ['REMOTE_ERROR',
             'xmlrpclib.ProtocolError',
             '<ProtocolError for pxe-197:51234/RPC2: -1 >',
             '  File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line 881, in process_server\n    retval = getattr(conn, meth)(*args[:])\n   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__\n    return self.__send(self.__name, args)\n   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request\n    verbose=self.__verbose\n   File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request\n    headers\n']}
[root@ppxe func]# 

So, what is wrong with the communication?

Or what does this means: <ProtocolError for pxe-197:51234/RPC2: -1 > ???

Thanx for any help!



So whenever I have a client-server issue like this I follow this procedure.. goto pxe-197 and do the following to have funcd output to the console:

/etc/init.d/funcd stop
funcd

Then goto ppxe and run:
func "*" call command run ":"

then provide the output from each system's display.

thanks
_______________________________________________
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